Swelıty
Tools for everyone

Free Online Base64 Decoder

Decode Base64 strings to plain text.

Input size: 52 characters.

Base64 input

Output

Decoded from Base64. Output size: 25 characters.

How to use

  1. Paste the Base64 string, or open a text file that contains it.

  2. Press Decode.

  3. Copy the text, or download it as decoded-text.txt.

  4. If you get an error, check that the whole string was copied and that it uses the standard alphabet.

Why use this tool

  • UTF-8 output

    Text in any language is rebuilt from its UTF-8 bytes.

  • Strict about text

    Data that is not valid UTF-8, such as most picture or ZIP files, is reported as an error.

  • Forgiving with layout

    Line breaks and spaces inside the string are ignored, so wrapped Base64 can be pasted as it is.

About this tool

Base64 Decoder turns a Base64 string back into text. It is useful for reading values in configuration files, checking a Basic authentication header, or looking at data that an API sends as Base64. The decoded bytes are read as UTF-8, so accented letters, other alphabets and emoji appear correctly. If the input is not valid Base64, or the bytes are not UTF-8 text, you see an error message instead of a page of broken characters. The page opens with an example already decoded.

Frequently asked questions

No. Strings that use - and _ are reported as invalid. Replace - with + and _ with / first, then decode.

Not here, because a picture is not text. Use Base64 to Image to see and download it.

A JSON Web Token has parts separated by dots, written in URL-safe Base64, so use the JWT Decoder for it.

The browser usually accepts a string without the = signs at the end, as long as its length can still be valid Base64. A string cut off in the middle gives an error or a shorter result, so copy all of it.

Decoding says nothing about where the data came from or whether it was changed. Treat it like any other input.