Base64 Encoder & Decoder
Encode text to Base64 or decode Base64 back to plain text. Switch between Standard (+ and /) and URL-safe (- and _) alphabets depending on where the output will go. Result appears as you type — no button to press.
How to use
1
Choose encode or decode
Select Encode to convert text to Base64, or Decode to convert Base64 back to text.
2
Pick the alphabet
Choose Standard (+ and /) or URL-Safe (- and _) depending on your use case.
3
Enter your input
Type or paste the text or Base64 string into the input field.
4
Copy the result
Copy the output to your clipboard with one click.
Plain text input
0 characters
Base64 output
Output appears here...
Features
Standard and URL-Safe Base64
Switch between the two alphabets depending on whether the output will go in a URL.
Instant conversion
The result appears as you type — no button press needed.
Swap input and output
Reverse the direction with one click if you change your mind.
Character count
See how many characters are in the input and output.
Common use cases
- Encode a string for a data URI
- Decode a Base64 token from an API response
- Prepare text for URL-safe transmission
- Decode a Base64-encoded configuration value