🔤 Base64 Encoder & Decoder

Encode text or files to Base64 and decode Base64 back to text. Supports UTF-8, emoji and URL-safe Base64. Free, fast and private.

🔒 No uploads⚡ Instant🆓 Free, no signup

What is Base64?

Base64 turns any data, like text, images or files, into plain letters and numbers so it can be safely put in emails, URLs, JSON or HTML. It's an encoding, not encryption, so anyone can decode it.

How do I encode a file as Base64?

Click Encode a file… and choose a file. You'll get a data URI (data:image/png;base64,…) that you can paste directly into HTML or CSS.

What is URL-safe Base64?

It replaces + and / with - and _ and drops the = padding, so the result can go in URLs and filenames. The decoder accepts both forms automatically.