Base64 Encoder & Decoder
Encode text or files to Base64 and back
How it works
- 1Paste text or drop a file
Type or paste text, or upload any file up to your browser's memory limit.
- 2Pick encode or decode
Toggle standard or URL-safe Base64 variants.
- 3Copy or download
Copy the output or download the decoded file.
About Base64 Encoder & Decoder
Free online Base64 encoder and decoder. Encode any text or file to Base64 (standard or URL-safe), or decode Base64 back to its original form. Handles Unicode, binary files, and data URIs — all in your browser. Base64 Encoder & Decoder on 712 Tools runs entirely inside your browser using modern JavaScript APIs — no server ever sees your data. That means instant results, complete privacy, and no upload limits.
Whether you need to encode text or files to base64 and back for a debugging session, a quick sanity check, or a production incident, this tool is free to use as many times as you need. There are no watermarks, no sign-up, and no ads inside the tool itself.
Frequently asked questions
What's URL-safe Base64?
It replaces + with - and / with _ so the string can appear in URLs without percent-encoding. Padding = characters are sometimes stripped too.
Does it handle Unicode?
Yes. Text is UTF-8 encoded before Base64 conversion, so emoji and non-ASCII characters round-trip correctly.
Is my file uploaded?
Never. All encoding and decoding runs in your browser via native APIs. Neither text nor file bytes leave your device.
What's the file size limit?
Bound by your browser's memory. Files under 50 MB typically encode instantly; larger files may pause briefly.
Read more
Related tools
URL Encoder / Decoder
Percent-encode or decode URL components instantly
JWT Decoder
Decode JSON Web Tokens and inspect claims
HTML Entities
Convert special characters to HTML entities and back
Word Counter
Count words, characters, sentences, paragraphs, reading time
Case Converter
Convert text to UPPERCASE, lowercase, camelCase, snake_case, kebab-case, and more
Lorem Ipsum
Generate placeholder text — paragraphs, sentences, or words