Free tool · runs in your browser

Base64, URL & hex encoder and decoder

Type plain text on one side and see it as Base64, URL encoding, hex, binary, HTML entities or Unicode escapes on the other, or paste encoded text to read it. Text is handled as UTF-8, so Hindi and emoji come back exactly. You can also turn a file into a data URI, or a Base64 string back into a file. Nothing is sent to a server.

How to use the tool

  1. 1

    Pick a format

    Choose Base64, Base64URL, URL, Hex, Binary, HTML entities or Unicode escapes from the tabs.

  2. 2

    Type or paste

    Type text on the Text side to encode it, or paste encoded text on the other side to decode it. Both sides update as you type.

  3. 3

    Read any error

    If the encoded text is broken, such as a stray character or a missing digit, a short message says what is wrong instead of showing garbage.

  4. 4

    Copy or download

    Copy either side, or use File → Base64 and Base64 → file for images, PDFs and other files.

QRScanKaro

Share it as a QR code

Got a link, a Wi-Fi password or a message to share? Turn it into a QR code with your colours and logo, free, in your browser.

Open the QR generator →

Frequently asked questions

Is Base64 a kind of encryption?

No. Base64 only rewrites bytes using 64 safe characters so they survive email, JSON and URLs. Anyone can decode it without a key. To keep text private, use the Text Encryption tool, which locks it with AES and a password.

Why does Hindi text come out garbled on some other sites?

Many sites call the browser’s btoa() directly, which only understands Latin characters. This tool first turns text into UTF-8 bytes, the same as servers and most programming languages, so नमस्ते and emoji decode back exactly.

What is the difference between Base64 and Base64URL?

Base64URL uses - and _ instead of + and /, and drops the = padding, so the result can go in a URL or file name without escaping. JSON Web Tokens (JWTs) use it. The Base64 decoder here accepts both alphabets.

Which formats can it convert?

Base64, Base64URL, URL (percent) encoding, hex, 8-bit binary, HTML entities such as < and ₹, and JavaScript-style Unicode escapes such as \u0928. Each works in both directions.

Is my text or file uploaded?

No. The conversion runs in JavaScript in your browser, and files you pick are read on your device only. Once the page has loaded, it keeps working even if you go offline.