Base64 Encode / Decode
Encode text and files to Base64 or decode Base64 strings — entirely in your browser.
Your files never leave your device
Output
—
Decode expects valid Base64 and outputs UTF-8 text. For binary output after decoding, use your browser or a script to write bytes from Base64.
How It Works
Step 1
Enter text or a file
Type text, or choose a binary file to get a Base64 string.
Step 2
Encode or decode
Switch between Encode and Decode. Move output back into the input with one click.
Step 3
Copy the result
Copy Base64 or decoded UTF-8 text for configs, APIs, or debugging.
Frequently Asked Questions
Very large files may be slow or hit browser memory limits. For huge files, prefer desktop tools.
We show UTF-8 text. If your Base64 represents binary (e.g. an image), decode outside the tool or use the Base64 string as needed.
Related Tools
HOT
JSON
Format, validate and beautify JSON data online.
Client-sideURL
Encode or decode URLs, query strings, and path segments safely.
Client-sideMinify
Minify or beautify HTML, CSS, and JavaScript locally in your browser.
Client-sideColor
Convert HEX, RGB, HSL, and CMYK with a picker and quick palettes.
Client-side