Base64 Encoder / Decoder
Encode or decode text and files to and from Base64.
Files and text are processed locally in your browser. Tools that must reach the network say so explicitly.
About the Base64 Encoder / Decoder
Encode and decode Base64. The Toolcenter Base64 tool handles full Unicode text in both directions, offers URL-safe output (swapping +/ for -_ and dropping padding), and can Base64-encode any file with both the raw string and a ready-to-use data URI. Processing is local.
How to use it
- 1Choose encode or decode and toggle URL-safe if needed.
- 2Paste your text, or drop a file in the file panel.
- 3Read the converted output.
- 4Copy the Base64, or the data URI for files.
Key features
- Unicode-safe text encoding and decoding
- URL-safe Base64 variant
- File → Base64 with data-URI output
- One-click copy and “use as input”
- No upload — runs in the browser
Frequently asked questions
What is URL-safe Base64?+
A variant that replaces + and / with - and _ and removes = padding, so the string is safe to place in URLs and filenames.
Can it encode images to data URIs?+
Yes. Drop an image in the file panel to get a data:...;base64,... URI you can inline in CSS or HTML.
Does it handle emoji and accents?+
Yes. Text is encoded via UTF-8 so all Unicode characters round-trip correctly.
Is my file uploaded?+
No. Encoding happens locally with the browser FileReader.
Also searched as
Related developer tools
JSON Formatter & Validator
Pretty-print, minify, validate and inspect JSON with a tree view.
URL Encoder / Decoder
Percent-encode or decode URLs and query components.
HTML Entity Encoder / Decoder
Escape and unescape HTML entities safely.
HTML / CSS / JS Minifier
Strip whitespace and comments to shrink front-end assets.
Code Beautifier
Reformat messy HTML, CSS, JS and JSON with configurable style.
Regex Tester
Test patterns with live match highlighting and group inspection.