Base64 Encode & Decode

Encode text to Base64 and decode it back, with full Unicode support and a URL-safe option. Free, instant, nothing leaves your browser.

Runs 100% on your device - nothing you enter or upload leaves your browser.

How to use the Base64 encoder

Paste text and press Encode to get Base64, or paste Base64 and press Decode to get the original text. Turn on URL-safe output when the result goes into a link or filename.

Common uses

Frequently asked questions

Does this handle Hindi and other non-English text?
Yes. Text is converted with UTF-8 before encoding, so Hindi, emoji and every other Unicode character round-trips correctly. Many older tools corrupt non-ASCII text.
What is URL-safe Base64?
Standard Base64 uses + and /, which break URLs and filenames. The URL-safe variant replaces them with - and _ and drops the trailing = padding.
Is Base64 encryption?
No. Base64 is an encoding, not encryption - anyone can decode it. Never use it to hide passwords or secrets.
Is my data sent anywhere?
No. Encoding and decoding run entirely in your browser.

Related tools