How it works
Choose a direction, then type or paste into the box. The result updates as you type.
Text is converted using UTF-8, so non-English letters and emoji work correctly.
The URL-safe option replaces + and / with - and _ and drops the = padding, so the result can be used in web addresses and tokens.
Good to know
Base64 is an encoding, not encryption. Anyone can decode it, so never use it to hide passwords or secrets.
Only text is supported. Decoded results that are not valid UTF-8 text, such as images, show an error.
Frequently asked questions
What is Base64 used for?
It turns data into plain letters and numbers so it can travel safely through systems built for text, such as email, JSON and web addresses.
Is Base64 secure?
No. It makes data longer, not secret. Use real encryption to protect anything private.
Why does decoding fail?
The input may contain characters that are not part of Base64, may be cut short, or may decode to data that is not text.