Base64 Encoder / Decoder

Base64 एनकोडर / डिकोडर

Encode text or files to Base64 and decode it back (UTF-8 safe).

Runs in your browser – nothing you enter or upload is sent to our server

How to use the Base64 Encoder / Decoder

  1. Paste text to encode, or Base64 to decode.
  2. Tick URL-safe if the value goes into a URL or JWT.
  3. Click Encode or Decode. Use “Open file” to turn a file into a data URL.

Supported formats: Any text or file up to 2 MB

Unicode done right

The browser's built-in btoa() fails on Hindi and other non-Latin text. This tool encodes text as UTF-8 first, so नमस्ते round-trips correctly.

URL-safe Base64 (Base64URL) replaces + and / with - and _ and drops = padding – the format used in JWTs and URLs. The decoder accepts both forms. If the decoded data is not text (for example an image), you get a download link instead.

Frequently asked questions

Is Base64 encryption?

No. Base64 is an encoding – anyone can decode it. Never use it to hide passwords or secrets.

Why is Base64 bigger than the original?

Base64 represents every 3 bytes with 4 characters, so output is about 33% larger.