Base64 Encoder and Decoder

Encodes text into Base64 or decodes Base64 back into readable text. It is useful for checking a value you found in a settings file or web address, or for preparing a short piece of text that has to travel as plain characters. Accented letters and emoji are handled correctly.

Up to 1 MiB.

Options

How to use the Base64 Encoder and Decoder

  1. Choose Encode or Decode, then type or paste your text.
  2. The result appears as you type.

Rules applied

  • Text is encoded as UTF-8, so every language and emoji round-trips exactly.
  • Decoding ignores spaces and line breaks, accepts the URL-safe alphabet and missing padding, and reports invalid characters.

Limitations

  • Decoded data must be UTF-8 text. Base64 of images or other files cannot be shown as text.

Worked examples

Encode text

Input

Hello, KotakText! 👋

Result

SGVsbG8sIEtvdGFrVGV4dCEg8J+Riw==
Decode

Input

SGVsbG8sIHdvcmxkIQ==

Result

Hello, world!

Practical uses

  • Decode a string in a config file

    A developer finds a long Base64 value in a settings file and wants to know what it holds. They choose Decode and paste the value, and the result appears as they paste. Spaces and line breaks in the value are ignored, so the plain text shows up in one step.

  • Encode text for a data field

    An admin needs to place a short message inside a field that only accepts Base64. They choose Encode and type or paste the message. The encoded value appears straight away and is ready to copy into the field.

Privacy: this tool runs entirely in your browser. Your text is not uploaded, logged or saved, and it is never sent to analytics. Maximum input: 1 MiB.