Base64 Converter
Encode text or files to Base64 and decode Base64 back to readable text - entirely in your browser.
Runs locally in your browser — nothing is uploaded.
Output: 20 characters
How it works
- Step 1Type or paste textEnter plain text or a Base64 string in the input box.
- Step 2Pick the directionEncode converts text to Base64; decode converts Base64 back to text.
- Step 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 / DecoderPercent-encode or decode URLs, query strings, and text - with option to keep or escape forward slashes.Open Image to Base64 EncoderEncode any image as a Base64 data URI for embedding in HTML, CSS, or JSON.Open Hash GeneratorGenerate SHA-256, SHA-384, SHA-512, and MD5 hashes from any text input.Open