Home › Image Tools › Base64 Encoder / Decoder
Encode text or files to Base64 and decode Base64 back to readable text — instantly, securely, and entirely inside your browser.
Crop images visually with aspect-ratio presets and drag handles — export as PNG, JPG, or WebP, all offline.
Paste or drop
Paste text or a Base64 string, or drag in up to 15 files to encode. Pick Encode or Decode.
Convert
Click Convert. UTF-8 text and binary files are handled correctly, with clear errors if a Base64 string is malformed.
Copy or download
Copy the result with one click or download it as a file. Nothing is ever uploaded.
No. Encoding and decoding run completely in your browser using native Web APIs. Your text and files never touch a server, so it’s safe for tokens, keys, and confidential data.
Yes. Encoding uses UTF-8, so accented characters, emojis, and any Unicode text round-trip perfectly without corruption.
Yes. Drop any file (up to 10 MB each, 15 per batch) and it’s encoded to a Base64 text string you can copy or download.
Decoding requires valid Base64 — only A–Z, a–z, 0–9, + and /, with correct = padding. The tool flags stray characters or bad padding so you can fix the input.
HTML Formatter / Beautifier
Format HTML Structure For Easy Debugging
JSON Formatter
Clean And Organize JSON Code Quickly
CSS Minifier
Compress CSS Code For Better Performance
JavaScript Minifier
Reduce JavaScript Size Without Losing Functionality
Base64 is an encoding scheme that represents binary data using a 64-character text alphabet, making it safe to embed in places that expect plain text — data URLs, JSON payloads, email attachments, JWTs, and configuration files. This tool lets you convert in both directions: turn text or files into Base64, or decode an existing Base64 string back to its original form. Everything happens locally, so even sensitive values stay on your machine.
- Two-way conversion — encode and decode in a single tool with a quick mode switch.
- UTF-8 correct — Unicode text, emojis, and accents encode and decode without data loss.
- File support — encode any file to Base64 and download or copy the output.
- Batch processing — handle up to 15 files at once with per-file download.
- Helpful errors — invalid Base64 is caught with a clear, actionable message.
This tool is 100% client-side. Your input is processed in-browser with the native TextEncoder, TextDecoder, and Base64 APIs — there are no uploads, no logging, and no third-party calls. Because nothing leaves your device, it’s appropriate for API keys, tokens, and other confidential strings.