PlainLogic

Free tool · No sign-up · No uploads

Base64 Encoder & Decoder

Turn text into Base64 — or Base64 back into text — with the exact spot pointed out when a string will not decode. It runs entirely in this tab: nothing is uploaded, nothing is stored.

Encode something

Encode and decode Base64

Or encode a file (up to 1 MB):

Paste text to encode, or a Base64 string to decode — up to 1 MB. Accents and emoji work; they are handled as UTF-8.

Result

The converted output appears here. Long strings wrap so you can read them.


            

Tip: Ctrl + Enter (or Cmd + Enter on Mac) encodes from the input box.

How to use it

  1. Paste text and hit Encode — or paste a Base64 string and hit Decode.
  2. Tick URL-safe when the result will live in a link or a token (it swaps + and / for - and _).
  3. Copy or download the result. If a string will not decode, the error panel shows the exact character that broke it.

What it does

Encodes any text — including accents and emoji — to Base64, and decodes Base64 back to text, with the URL-safe alphabet, optional padding removal, 76-character wrapping, and file encoding up to 1 MB.

Private by design

Your text is converted in your browser tab and never sent anywhere. There is no server call, no upload, and no account — paste a token or a secret and it stays on your machine.

When to use it

Reading a token or an API payload, packing data into a URL, turning a small image into a data: URL for a page, or checking why a copied string refuses to decode. If it decodes here, it decodes everywhere.

Questions

Is it free?

Yes. Encoding and decoding Base64 are free to use as often as you like. There is no account and no trial.

Does my text get uploaded anywhere?

No. Your text is converted right in your browser tab, on your own device — it is never sent to a server, stored, or logged. The page works offline once it has loaded.

What is Base64?

A way to write any bytes — text, an image, a file — using only 64 safe characters (letters, digits, + and /, with = as padding). It makes binary data safe to paste into places that only accept text, like a JSON field, a URL, or an email.

What is the URL-safe alphabet?

The same idea with two characters swapped: - and _ instead of + and /. A + or / inside a URL would need escaping, so tokens and links use the URL-safe version. Tick the URL-safe box when you are making something that will live in a link.

Why won't my Base64 string decode?

Usually one of three things: a character that is not in the Base64 alphabet, a = in the middle instead of only at the end, or the wrong alphabet (standard uses + and /, URL-safe uses - and _). The error panel points at the exact character.

How large can the input be?

Up to 1 MB of pasted text, or a file up to 1 MB. The cap keeps the tab responsive — for anything bigger, split the input and convert one piece at a time.

Get PlainLogic

Get PlainLogic

Useful AI and technology, explained simply. New tools, practical guides, prompt techniques, and the occasional update worth knowing about.

This is the automated list — one-way updates in your inbox. For a human reply, write to help@plainlogic.org instead.