Format Conversion100% private
Base64 Converter
Encode text or files to Base64 and decode Base64 back to readable text - entirely in your browser.
Output: 20 characters
How it works
- 1Type or paste textEnter plain text or a Base64 string in the input box.
- 2Pick the directionEncode converts text to Base64; decode converts Base64 back to text.
- 3Copy the resultClick the copy button to grab the output. Everything runs locally.
Frequently asked questions
What is Base64?
Base64 encodes binary data as ASCII text using 64 characters (A-Z, a-z, 0-9, +, /). It's commonly used to embed images or data in emails, URLs, and JSON.
Why does Unicode text change?
Non-ASCII characters (like emoji and non-English scripts) are first UTF-8 encoded, which makes the Base64 output longer but correct. Decoding returns the original text.
Is my data sent anywhere?
No. All encoding and decoding happens locally in your browser with standard Web APIs. Nothing is uploaded.
Related tools
URL Encoder / Decoder
Percent-encode or decode URLs, query strings, and text - with option to keep or escape forward slashes.
Image to Base64 Encoder
Encode any image as a Base64 data URI for embedding in HTML, CSS, or JSON.
Hash Generator
Generate SHA-256, SHA-384, SHA-512, and MD5 hashes from any text input.