Encoding / LOCAL TOOL

Base64 Encode & Decode

Encode text to Base64 or decode Base64 strings directly in your browser.

Runs locally — input is never uploaded
Drag a file, paste text or Base64 · MIME data URL optional · max 10 MiB
Ready when you are

WHAT IT DOES

Base64 for text and for real files.

Encode UTF-8 text to Base64 or decode Base64 back to text. Local files up to 10 MiB can also be encoded, and decoding accepts full data URLs. Binary results are offered as a local download while text results stay in the output pane where you can copy them.

Why use it?

Base64 represents bytes using text so they can pass through text-only interfaces. It is useful for transport and inspection, but it provides no secrecy.

How to use this tool

  1. Paste text or choose a local file for encoding, or paste an encoded value for decoding.
  2. Choose the intended encode or decode action and review any reported format error.
  3. Copy the text result or use the available file download for binary output. Check that you decoded bytes, not an extra layer of already encoded text.

Details and limitations

  • Text is encoded as UTF-8, so accented characters and emoji survive the round trip intact.
  • Decoding accepts a bare Base64 string or a complete data: URL and strips the prefix for you.
  • Malformed Base64 produces an explicit error instead of truncated output.
  • File downloads are generated in the browser from an object URL; nothing is uploaded to produce them.

WORKED EXAMPLES

Encoding is reversible, not secret

Encode the ASCII text hello without a newline. To check the reverse direction, put the encoded result back into the input and decode it.

Text

hello

Expected result

Standard Base64: aGVsbG8=. Decoding that value returns hello. Anyone with the encoded value can recover it; use neither step as credential protection.

COMMON QUESTIONS

Base64 questions

Does Base64 encrypt my data?
No. Base64 is a reversible encoding for representing binary data as text. Anyone who has the encoded string can decode it, so never treat it as a way to protect a secret.
Can I encode an image or a binary file?
Yes. Choose or drop a file up to 10 MiB and it is read and encoded locally. Decoding a Base64 blob back to binary offers it as a download.
How is Unicode text handled?
Input is encoded as UTF-8 before Base64 conversion, which is what almost every language and framework expects when decoding on the other end.