Home › Tools › Utilities › Base64 Encoder / Decoder

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

  1. Enter or paste your input in the fields above.
  2. The result updates as you type, or press Run.
  3. 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

AaUnix Timestamp Converter

Convert Unix timestamps (seconds or ms) to readable dates.

Utilities
AaWord & Character Counter

Count words, characters and estimate reading time.

Utilities
AaUUID v4 Generator

Generate random UUIDs securely in your browser.

Utilities
AaURL Encoder / Decoder

Percent-encode or decode URLs and query strings.

Utilities
AaText Case Converter

Convert text to camelCase, snake_case, kebab-case and more.

Utilities
AaText Diff Checker

Compare two texts line by line and see what changed.

Utilities
Copied!