Base64 Encode / Decode
Encode or decode Base64 strings instantly. Runs locally in your browser.
Text (Input)
Output
Tip: You can verify in DevTools → Network that nothing is uploaded.
Encoding options
About this Base64 Tool
Use this tool to encode text to Base64 or decode Base64 strings back to text. Supports standard Base64 and URL-safe variants. Everything runs locally in your browser — nothing you paste is sent to a server.
- Encode text to Base64 format
- Decode Base64 back to original text
- URL-safe Base64 variant support
- Proper Unicode/UTF-8 handling
- Enable Auto to convert as you type
- Use URL-safe variant for URLs and filenames
- Upload text files to encode/decode
- Invalid Base64 will show an error message
FAQ
No. Encoding and decoding happen locally in your browser. Nothing you paste is sent to a server.
URL-safe Base64 uses - and _ instead of + and /, and removes padding =. This makes it safe to use in URLs and filenames without encoding.
Yes. The tool uses UTF-8 encoding, so it properly handles Unicode characters, emojis, and special symbols.
An error message will appear below the input panel. The output will remain empty until you provide valid Base64 input.
Yes, but extremely large files may be slow depending on your device. The current limit is 5MB.
After the page loads once, it will typically keep working if you go offline (unless you hard refresh with no cache).