Base64 Encoder & Decoder
Encode text or files to Base64 and decode Base64 back to text in your browser. No uploads and no account required.
How to Use Base64 Encoder & Decoder
- Choose Encode to Base64 or Decode from Base64.
- Paste text into the input area or upload a text or binary file up to 10 MB.
- Read the result in the output area as you type.
- Copy the result to your clipboard or download it as a file.
Base64 encoding in practice
Base64 turns binary bytes into printable ASCII so data can travel through text-only channels such as JSON fields, email headers, and data URLs. The output is roughly one third larger than the input because every three bytes become four characters. This tool encodes and decodes both pasted text and small files in your browser.
Encoding is not encryption and does not protect sensitive values. Anyone who receives the string can decode it. For text that contains accented characters, CJK characters, or emoji, the codec applies UTF-8 before encoding so the original characters survive a round trip. If decoding fails, check for stray whitespace, a missing padding character, or a truncated data URL prefix.
How Your Files Are Handled
This tool runs in your browser. The text or file you provide is processed locally and is not uploaded to 93Tool.
Base64 Encoder & Decoder FAQ
What is Base64 encoding used for?
Base64 turns binary data or special-character text into an ASCII string that can travel through text-based systems such as HTTP, HTML, or JSON.
Are my input data or files sent to a server?
No. Encoding and decoding run locally in your browser using JavaScript APIs.
Related Online Tools
- JSON Formatter - Format, validate, and minify JSON with real-time syntax checks.
- Markdown Previewer - Edit Markdown with a live preview and download your source file.
- JSON Diff Checker - Compare two JSON documents and inspect added, removed, changed, and type differences.
- CSV Duplicate Rows Remover - Remove duplicate rows from CSV by full row or selected columns, with case and whitespace controls.