Base64 Encode / Decode

Convert text to Base64 and back, with full Unicode (emoji, Hindi, etc.) and URL-safe support.

Convert a file to Base64

Creates a data URL you can paste into HTML or CSS.

What is Base64?

Base64 represents binary data using 64 safe characters (A–Z, a–z, 0–9, + and /). It is used to embed images in HTML/CSS, send attachments in email, and carry data in JSON or URLs. It is an encoding, not encryption – anyone can decode it.

URL-safe Base64 swaps + and / for - and _ and drops the = padding, so the result can go in URLs and JWT tokens.

Everything runs in your browser – the text you paste is never sent to a server, so it is safe to use with API keys, tokens or private data.

Frequently asked questions

Is Base64 secure?

No. Base64 only changes the format. Never use it to hide passwords or secrets.

Does it support Hindi, emoji and other Unicode?

Yes. Text is converted to UTF-8 before encoding, so any language works.