Base64 Encoder / Decoder
Base64 turns any data into a plain-ASCII string that survives email, JSON, HTML attributes, and HTTP headers. Paste either form below and the conversion happens live — with proper UTF-8 handling, so emoji and non-Latin text round-trip correctly.
How to use it
- Type or paste plain text in the top box to encode it.
- Or paste Base64 in the bottom box to decode it.
- Click copy next to either box to grab the result.
Frequently asked questions
Is Base64 encryption?
No. Base64 is an encoding, not encryption — anyone can decode it instantly. Never use it to hide passwords or secrets.
Why does Base64 output end with = signs?
Base64 works in 3-byte blocks; = is padding added when the input length is not a multiple of three. It is normal and required by many decoders.
Does this handle emoji and non-English text?
Yes. The tool encodes text as UTF-8 before converting to Base64, so characters like é, 中文, and 🚀 decode back exactly as entered.
What is Base64 actually used for?
Embedding images in CSS/HTML (data: URLs), basic HTTP authentication headers, email attachments (MIME), JSON payloads that must carry binary data, and JWT tokens.
More free tools
URL Encoder / Decoder
Percent-encode or decode URLs and query strings instantly.
URL Slug Generator
Turn any title into a clean, SEO-friendly URL slug.
Meta Tag Generator
Generate title, description, Open Graph & Twitter meta tags — copy-paste ready.
Word & Character Counter
Count words, characters, sentences & reading time as you type.