What this tool does

Encode or decode Base64 text online, including Unicode and URL-safe Base64. Runs locally in your browser.

  • Encode plain text such as Hello world.
  • Decode URL-safe token fragments that use - and _ characters.
  • Encode a small local file and download decoded bytes when needed.

Base64 Encoder and Decoder

live
Output will appear here.

Base64 is reversible encoding, not encryption.

When this tool is a good fit

Base64 Encoder and Decoder helps when you need encoded or decoded text that can be copied into another debugging step from text or encoded data that should be converted between plain text and Base64 forms. It is most useful for encoding small text snippets, decoding tokens, checking API examples, and inspecting Base64URL-like values. The notes below focus on the settings that matter, the checks worth doing before you export, and the limits that tend to cause mistakes.

  • Takes text or encoded data that should be converted between plain text and Base64 forms.
  • Lets you adjust encode or decode mode, standard Base64 or URL-safe expectations, and text encoding assumptions.
  • Calls out what to review: padding, unreadable binary output, URL-safe characters, and whether the decoded text is actually UTF-8.
  • Produces encoded or decoded text that can be copied into another debugging step.
  • Fits common jobs such as encoding small text snippets, decoding tokens, checking API examples, and inspecting Base64URL-like values.

Example jobs

  • Encode plain text such as Hello world.
  • Decode URL-safe token fragments that use - and _ characters.
  • Encode a small local file and download decoded bytes when needed.

How to use Base64 Encoder and Decoder

  1. Prepare text or encoded data that should be converted between plain text and Base64 forms.
  2. Set encode or decode mode, standard Base64 or URL-safe expectations, and text encoding assumptions before running the tool.
  3. Generate or process the result, then review padding, unreadable binary output, URL-safe characters, and whether the decoded text is actually UTF-8.
  4. Copy, export, or download encoded or decoded text that can be copied into another debugging step.
  5. Run a second pass if the destination system, document, or workflow has stricter requirements.

What to know before you use it

  • Text is converted with UTF-8 so Unicode and emoji work correctly.
  • URL-safe mode swaps + and / for - and _ and can remove padding.
  • Base64 is encoding, not encryption.
  • Base64 is an encoding format, not encryption; anyone can decode it.
  • Binary data may not display cleanly as text even when the Base64 input is valid.

Checks and edge cases

  • Do not treat Base64 values as secrets unless they are protected by a separate cryptographic mechanism.
  • Decode only data you are allowed to inspect, especially when tokens may contain user or environment details.

How your data is handled

This tool works in your browser. Toolumina does not upload or keep the content you enter here.

FAQ

Is Base64 encryption?

No. Base64 is reversible encoding and should not be used to protect secrets.

Why did decode fail?

The input may contain invalid characters, missing data, or a non-UTF-8 binary payload in text mode.

Does it support Chinese text and emoji?

Yes. Text encoding and decoding use UTF-8.