MomentBehind the encoding

SAME TEXT. A DIFFERENT REPRESENTATION.

A little encoding.
Nothing sent away.

Turn text into Base64, or bring it back.
Your content stays in this browser.

Base64 text converter

UTF-8 text

Standard encoding includes = padding. Standard decoding requires complete padding.

0 / 100,000
Read only

Up to 100,000 characters. Some symbols count as two toward the limit.

Choose an alphabet, then encode or decode.

No accounts. No uploads. No saved inputs.

MAKE THE FORMAT FIT

Encoding is a format.
It is not a secret.

Text becomes bytes, then Base64

Encode text turns UTF-8 bytes into a compact alphabet of letters, digits and a few symbols. For example, Hello becomes SGVsbG8= in standard Base64.

Bring readable text back

Decode Base64 checks the alphabet and padding, then reads the decoded bytes as UTF-8. Binary data, such as an image file, is not supported by this text-only tool.

Choose the right alphabet

Standard Base64 uses + and /. URL-safe Base64 uses - and _ instead. This tool omits trailing = when URL-safe encoding; its URL-safe decoder accepts padded or unpadded input.

Base64 does not encrypt or hide information. Anyone can decode it. Use it when a destination expects encoded text, not to protect a password or private message.

A few details worth knowing.

Why is my input rejected?

Check the alphabet, the final padding, and the whitespace option. Standard Base64 requires groups of four characters with any needed = padding. We also reject nonzero unused padding bits instead of silently accepting a non-canonical spelling.

What happens to spaces and line breaks?

When the decoding option is on, ASCII spaces, tabs, line breaks, carriage returns and form feeds are ignored. Other characters are checked strictly. Encoding always preserves your original whitespace as part of the text.

Can I encode emoji or accented letters?

Yes. Text is encoded as UTF-8, so one visible character can use several bytes. Incomplete Unicode characters are rejected. Decoding requires valid UTF-8 and preserves a byte-order mark if one is present.

Does decoding open a link or run code?

No. Output is shown as plain text. This tool does not visit URLs, render HTML, or execute decoded content. Use as input simply copies the result into the input editor so you can perform another explicit conversion.

Privacy and your text

Your input and output stay in this browser tab and are cleared on refresh. This page has no analytics, advertising scripts, accounts or external libraries. The hosting provider may process connection information to serve and secure the site. Any future advertising and required consent controls will be disclosed before it is enabled.