Base64 Encoder / Decoder
Encode or decode Base64 with full UTF-8 support. Free, private and instant.
About the Base64 Encoder / Decoder
Base64 turns binary or special characters into plain ASCII text. It is common in data URLs, email attachments and API tokens. It is encoding, not encryption.
When to use it
Use it to embed small files in HTML or CSS, inspect encoded values, or decode strings copied from headers and payloads.
How it works
Base64 splits data into 6-bit groups and maps each group to one of 64 printable characters, padding with = at the end. The output is about one third larger than the input.
Not encryption
Anyone can decode Base64, so it gives no secrecy. Never use it to hide passwords or keys. Its job is to carry binary or special characters through systems that expect plain text.
Where you will see it
Data URLs for small images, email attachments, HTTP Basic authentication headers, and the segments of JWTs, which use the URL-safe variant with - and _ instead of + and /.
UTF-8 note
Text with emoji or accents must be converted to UTF-8 bytes first. This tool does that for you, so the decoded text matches the original exactly.
How to use the Base64 Encoder / Decoder
- Enter or paste your input in the fields above.
- The result updates as you type, or press Run.
- Press Copy to copy the output.
Frequently asked questions
Is the Base64 Encoder / Decoder free?
Yes. It is completely free, with no signup and no usage limits.
Is my data uploaded anywhere?
No. Everything runs locally in your browser, so what you type never leaves your device.
Does the Base64 Encoder / Decoder work on mobile?
Yes. The tool is responsive and works on phones, tablets and desktops.
More free tools
Convert Unix timestamps (seconds or ms) to readable dates.
UtilitiesAaWord & Character CounterCount words, characters and estimate reading time.
UtilitiesAaUUID v4 GeneratorGenerate random UUIDs securely in your browser.
UtilitiesAaURL Encoder / DecoderPercent-encode or decode URLs and query strings.
UtilitiesAaText Case ConverterConvert text to camelCase, snake_case, kebab-case and more.
UtilitiesAaText Diff CheckerCompare two texts line by line and see what changed.
Utilities