Encoder Decoder
Encoder / decoder

Encode and decode, instantly.

Convert text to and from Base64, Base64URL, Base32, hex, URL encoding and binary as you type. Turn a file into Base64, or a Base64 string back into a file.

  • Runs in your browser. Nothing is uploaded.
  • Full UTF-8: emoji and every language work.
  • Forgiving input: spaces, line breaks and missing padding are fine.

How it works

Encodings turn bytes into text that's safe to paste, send or put in a URL. They are not encryption: anyone can reverse them.

  1. Choose the format

    Pick Base64, Base64URL, Base32, hex, URL encoding or binary, and whether to encode or decode.

  2. Type or paste

    The result updates as you type. Text is converted to UTF-8 bytes first, so every language works.

  3. Copy or download

    Copy the result, swap it back to check, or download decoded binary data as a file.

Why use this one

Small, fast and private: one page that does one job well.

Six formats

Base64, URL-safe Base64URL, Base32 (as used by 2FA keys), hex, percent-encoding and binary.

Files too

Encode any file up to 25 MB as Base64 or hex, and save decoded Base64 back to a file.

Forgiving decoder

Spaces, line breaks, missing = padding and data: URL prefixes are handled.

Clear errors

Invalid input tells you what's wrong, such as a bad character or a wrong length.

UTF-8 everywhere

Emoji, accents and non-Latin scripts round-trip exactly.

Private

Nothing you type or open is uploaded. The site has no analytics.

Frequently asked questions

What is Base64?

Base64 writes any bytes using 64 safe characters (A–Z, a–z, 0–9, + and /). It's used in email attachments, data URLs, JSON and API tokens. It makes data about a third larger and is not encryption.

What's the difference between Base64 and Base64URL?

Base64URL swaps + and / for - and _ and usually drops the = padding, so the result can go in a URL or file name without escaping. JSON Web Tokens use Base64URL.

Where is Base32 used?

Base32 uses only capital letters and the digits 2–7, which makes it easy to read aloud and type. 2FA secret keys are written in Base32.

Why does decoding show hex?

When the decoded bytes aren't valid text, for example an image or a compressed file, they're shown as hex. Use Download as file to save the original bytes.

Is my data sent anywhere?

No. All conversion happens in your browser. The site is static files with no server code and no analytics.