Base64 Encoder & Decoder
Convert plain text to Base64 or turn Base64 back into readable text. Unicode, emoji and URL-safe variants are handled correctly, and nothing leaves your browser.
Free Runs locally No signup
Input
Output
The result will appear here.
Convert with ⌘/Ctrl + Enter0 chars · 0 bytes
How to use it
1
Choose a direction
Switch between Encode and Decode at the top of the tool.
2
Paste your text
Drop plain text or a Base64 string into the input box.
3
Convert and copy
Press Convert, then copy or download the result.
Why use this tool
Correct UTF-8 handling
Chinese characters, emoji and accents survive the round trip.
URL-safe option
Use the - and _ alphabet with padding removed for URLs and tokens.
Local and private
Encoding and decoding happen on your device, not on a server.
Frequently asked questions
Is Base64 encryption?
No. Base64 is an encoding, not encryption. Anyone can decode it, so never use it to protect passwords or secrets.
Does it support Chinese and emoji?
Yes. Text is converted to UTF-8 bytes before encoding, so CJK characters and emoji round-trip correctly.
What is URL-safe Base64?
It replaces + with -, / with _, and removes padding so the string can be used in URLs and filenames.
Why does my Base64 end with =?
Padding makes the length a multiple of four. It is optional when decoding and is removed in the URL-safe variant.
Is there a size limit?
Only your browser's memory. A few megabytes of text is handled instantly.
Related tools
Developer Tools URL Encoder & Decoder Encode or decode URLs and query strings with correct UTF-8 percent encoding. Switch between component and full-URL modes, all in your browser. Developer Tools Hash Generator Generate MD5, SHA-1, SHA-256, SHA-384 and SHA-512 hashes from text in your browser. Compare digests and copy them instantly. Developer Tools JWT Decoder Decode a JSON Web Token to inspect its header, payload, signature and expiry claims. Nothing is uploaded and no signature is trusted. Developer Tools JSON Formatter & Validator Format, validate and minify JSON in your browser. Choose 2 or 4-space indentation, sort keys, and copy the result instantly. Free, private, no signup. Developer Tools JSON to CSV Converter Convert JSON arrays to CSV and CSV back to JSON in your browser. Handle quotes, delimiters and nested values, then copy or download the result. Developer Tools Unix Timestamp Converter Convert Unix timestamps to readable dates and back. Supports seconds and milliseconds, UTC and your local time zone, with a live current timestamp.
Last updated: