← Back

Base64 Tool

LOCAL

Encode and decode Base64 text.

Input

Output

What is Base64 Tool?

This tool converts text to standard Base64 or decodes Base64 containing readable UTF-8 text. It automatically chooses the direction; there is no encode/decode switch. Base64 represents data using a restricted alphabet. It is reversible encoding, not encryption, and does not protect passwords or other confidential values.

How to use Base64 Tool

Paste one value into Input and choose Convert. For example, Hello produces SGVsbG8=. Paste that result back into Input and convert again to get Hello. The tool first attempts to decode the input as standard Base64. If that does not produce supported text, it encodes the original input instead.

When is Base64 Tool useful?

Use this tool to inspect a text field from an API, a configuration value or a small development fixture. It handles Unicode text, including umlauts and emojis. It is not a file uploader or a decoder for arbitrary binary content. A complete data URL includes a prefix that this tool does not remove; supply only its Base64 text portion.

Example

Try Grüße 🥷: the encoded result is R3LDvMOfZSDwn6W3. Converting that result returns the original text. For a deliberately non-Base64 input, %%% produces JSUl rather than an invalid-input message: unrecognized data is treated as text to encode. Spaces inside the original plain text are retained when encoding.

Practical notes

Automatic detection can be ambiguous when ordinary text is also valid Base64 that decodes to readable UTF-8; in that case this tool decodes it. ASCII spaces and line breaks in a decoding candidate are ignored, and missing padding is accepted when it can be completed. The URL-safe alphabet with - and _ is not supported here; use JWT Decoder for JWTs. Input conversion runs locally in your browser and does not send the value to a conversion API.