Base64 Encoder / Decoder
Encode plain text to Base64 or decode Base64 back to text — instantly, locally.
Encode a file:
How it works
1
Choose mode
Toggle between Base64 encode and decode using the mode switch at the top.
Toggle between Base64 encode and decode using the mode switch at the top.
2
Enter your data
Paste a plain text string, binary-safe data or an existing Base64 encoded string into the input field.
Paste a plain text string, binary-safe data or an existing Base64 encoded string into the input field.
3
Instant conversion
The result appears immediately using the browser's native btoa() and atob() functions with full UTF-8 multi-byte character support.
The result appears immediately using the browser's native btoa() and atob() functions with full UTF-8 multi-byte character support.
4
Copy the output
Click Copy to put the encoded or decoded result on your clipboard — ready to use in your code, config file or API request.
Click Copy to put the encoded or decoded result on your clipboard — ready to use in your code, config file or API request.