NetToolForge
← Developer Tools🔐 Base64 · URL · HTML

Base64 & URL Encoder

Encode and decode Base64 (with full Unicode support), turn files into Base64, create Base64URL, URL-encode query strings and convert HTML entities — live as you type.

How to use the Base64 & URL Encoder

  1. Choose the operation at the top, for example Base64 encode.
  2. Type or paste your text — the output updates instantly.
  3. Press ⇅ Use as input to reverse the operation, or Copy the result.
  4. Use File → Base64 to encode an image or document.

When to use what

Frequently asked questions

Is Base64 encryption?

No. Base64 is an encoding — anyone can decode it. Do not use it to hide passwords.

Does it support Urdu and emoji?

Yes. Text is converted to UTF-8 first, so all languages and emoji work.

What is the difference between encodeURI and encodeURIComponent?

Keep URL structure (encodeURI) leaves characters like / ? & alone; Encode all (encodeURIComponent) encodes them too — use it for single values.

Can I decode Base64 to a file?

Yes. Decode it and press Save as file.

Why do I get an error when decoding?

The text is not complete Base64. Check that nothing was cut off when copying.

Is my data sent anywhere?

No. Everything is calculated in your browser on your own device. Nothing you type or open is uploaded.

Base64, Base64URL and URL encoding compared

Written and checked by the NetToolForge Team, 1 December 2026.

MethodExample outputUsed for
Base64Hello → SGVsbG8=Email attachments, data URIs, API payloads
Base64URLUses - and _ instead of + and /JWTs, links, file names
URL encodinga b&c → a%20b%26cQuery strings and form values
HTML entities< → &lt;Showing code safely on a web page

Base64 makes data bigger

Base64 turns every 3 bytes into 4 characters, so encoded data is about 33% larger. A 300 KB image becomes about 400 KB as Base64. That is fine for small icons inside CSS, but for large images a normal file link loads faster.

Encoding is not encryption

Anyone can decode Base64 in one click. Do not use it to hide passwords, keys or private data. If something must stay secret, it needs real encryption.

Why a space can be %20 or +

In the query part of a web address, forms often write a space as +. In the path, a space must be %20. When in doubt, %20 works in both places.