Encoders & Escapers

Base64 Encoder / Decoder

Encode text or files to Base64 and decode it back — with full UTF-8 support, URL-safe mode and binary file downloads.

Loading Base64 Encode / Decode…

How it works

How to use the Base64 Encode / Decode

  1. Choose Encode or Decode

    Encoding turns text into Base64; decoding turns Base64 back into text or a file.

  2. Paste your data

    Whitespace, data: URI prefixes and missing padding are handled automatically when decoding.

  3. Work with files

    Encode any file to Base64 or a data URI, and download decoded binary data such as images or PDFs.

Base64 vs. Base64URL

Standard Base64 uses +, / and = padding. Base64URL (used in JWTs and URLs) replaces them with - and _ and drops padding. The decoder accepts both. Text is encoded as UTF-8, so emoji and accented characters round-trip correctly.

Built for developers

Why developers use it

  • Private by design

    Runs 100% in your browser. Nothing you paste is uploaded, logged or stored on a server.

  • Instant results

    Output updates as you type, with precise error locations when something is wrong.

  • Works offline

    Once loaded, the tool keeps working without a connection. Install it as an app if you like.

  • Free, no sign-up

    No accounts, no limits, no watermarks.

FAQ

Frequently asked questions

Is Base64 encryption?

No. Base64 is an encoding that anyone can reverse. Use it to transport binary data as text, never to protect secrets.

Why is Base64 larger than the original?

Every 3 bytes become 4 characters, so encoded data is about 33% larger.

Is my data uploaded anywhere?

No. This tool runs entirely in your browser. Your input never leaves your device, is not logged, and works offline once the page has loaded.

Keep going

Related tools

Private by design

Your data never leaves your browser.

498 free tools that run locally — no uploads, no sign-up, no tracking of what you paste. They even work offline.

  • 498free tools
  • 0bytes uploaded
  • 23categories