Base64 Encoder / Decoder logo

Base64 Encoder / Decoder

User Guide

Base64 Encoder and Decoder encodes, decodes, inspects and transforms text and files in many formats. This guide walks through everything you can do.

1. Getting Started

When you open the app you'll see a list of sections down the left side. Click a section to switch to it. Most sections share the same simple idea: put something in, choose how to process it, and get a result.

At the bottom of the side panel there are two small buttons:

  • Sun / moon — switches between light and dark theme. The choice is remembered the next time you open the app.
  • Info (i) — opens the About dialog, which shows the product version and a link to the product website.

A few terms used throughout:

FormatThe encoding to use (Base64, Hex, etc.).
VariantA flavour of a format (for example Base64 Standard vs URL-safe).
EncodeTurn your data into the chosen format.
DecodeTurn formatted data back into the original.

2. Text

The everyday encoder/decoder.

1
Pick a Format (and a Variant if one is offered).
2
Choose the Text encoding if needed — UTF-8 is the right choice almost always. Use UTF-16 or ASCII only if you specifically need them.
3
Type or paste into the Input box.
4
Click Encode → or ← Decode. The result appears in Output.

Buttons

  • Detect — not sure what you're looking at? Paste it and press Detect. The app guesses the format (Base64, Hex, a JWT, a data URI, and so on) and decodes it automatically.
  • Swap — moves the output back into the input, so you can chain operations.
  • Clear — empties both boxes.
  • Copy — the chip on top of the Output box copies the result to the clipboard.

Each editor has a small footer that shows the number of characters in that box and a Clear link for emptying just that side. Below both boxes you'll see the size of the input and output and, when you decode something binary, a guess at what kind of file it is (for example "PNG image").

Formats at a glance

FormatUse it for
Base64The most common encoding for binary data in text. Variants: Standard, URL-safe (safe in links), MIME (wrapped lines), PEM (certificate-style blocks).
Base32Case-insensitive encoding; handy for codes people read or type.
Base58Compact, no look-alike characters — used by Bitcoin and similar.
Base85More compact than Base64. Ascii85 and Z85 flavours.
HexPlain hexadecimal. Decoding ignores spaces and line breaks.
URL encodingMake text safe inside a web address (%20 or + for spaces).
HTML entitiesEscape characters like <, >, & for web pages.
ROT13A simple, reversible letter cipher.

3. File

Encode or decode a whole file.

1
Choose Encode or Decode and pick a Format.
2
Set the Input file — click Browse… or drag a file onto the panel.
3
The Output file is suggested automatically; change it if you like.
4
Tick Preserve timestamps & attributes to copy the original file's dates and read-only/hidden flags onto the result.
5
Click Run. A progress bar appears; large files can be cancelled mid-way.

4. Batch

Process many files in one go.

1
Choose Encode or Decode, a Format, and what to do if the output already exists (overwrite, skip, or fail).
2
Add files with Add files… or by dragging them onto the panel.
3
Optionally set an Output folder (leave it empty to save each result next to its source).
4
Click Run. Each file shows its own status — done, skipped, or an error.

5. Pipeline

Chain several steps together and run them as one — the most powerful section.

1
From the Add step row, pick a transform and a direction (Forward = encode/compress, Inverse = decode/decompress), then click Add.
2
Repeat to build a chain. Use ↑ / ↓ to reorder and Remove to delete a step.
3
Or pick a preset and click Load preset for a ready-made chain.
4
Put your starting text in Input and click Run pipeline.

Each step shows its output, and the final result appears in Output. Available steps include every encoding format plus Gzip, Deflate, Brotli compression and JSON pretty-print.

Example: decode a compressed, Base64-wrapped value from a URL by chaining URL-decode → Base64-decode → Gunzip → JSON pretty-print.

6. JWT

Inspect a JSON Web Token.

1
Paste the token (the xxxxx.yyyyy.zzzzz string) into the box.
2
Click Decode.

You'll see the token's header and payload as readable JSON, and a summary of its timing claims — including whether it has expired. (The app reads the token; it does not check the signature.)

7. Image Preview

See an image that's stored as text.

1
Paste a Base64 image or a data: URI into the box.
2
Click Render.

The picture is shown along with its type and dimensions. If the text isn't a valid image, you'll get a short explanation.

8. Diff

Compare two pieces of text.

1
Paste the original on the left and the changed version on the right.
2
Click Compare.

Differences are highlighted line by line — added lines in green, removed in red, changed in amber — with a summary of how many lines changed.

9. Dev Tools

Handy extras for developers.

  • HTTP Basic auth — enter a username and password and click Build header to get the Authorization: Basic … value, or paste a header and click Decode header to recover the username and password.
  • Code snippet / <img> generator — paste a Base64 value, choose a language (Python, JavaScript, C#, cURL, or an HTML image tag), set the MIME type if you're making an image tag, and click Generate to get copy-ready code.

10. Folder Watch

Process files automatically as they appear in a folder.

1
Choose Encode or Decode and a Format.
2
Pick the folder to watch and, optionally, a file filter (for example *.bin).
3
Click Start.

From then on, any matching file dropped into that folder is processed automatically, and each action is listed in the log. Click Stop when you're done.

11. History

A running list of your recent operations, with the time and a short detail for each. It's kept between sessions. Use Clear to empty it.

12. Settings

  • Dark theme — toggle the app's appearance. (You can also use the sun/moon button at the bottom of the side panel.)
  • Preserve timestamps & attributes — the default for file operations.
  • About Base64 Encoder and Decoder — shows the version and app information, with a link to the product website.

Your settings are saved automatically and remembered the next time you open the app.

13. Tips

  • Stuck with a mystery string? Paste it into Text and hit Detect.
  • For very large files, use the File section — it shows progress and can be cancelled.
  • Combine steps you do often into a Pipeline and save time.
  • Drag and drop works in both the File and Batch sections.
← Back to Base64 Encoder/Decoder Changelog →