✂️ Base64 & URL Encoder / Decoder

Encode or decode text as Base64 or URL-encoded form โ€” everything runs in your browser, nothing is sent anywhere.

Input
Output

About this tool

Encode text to Base64 or decode Base64 back to text, and URL-encode or decode strings for query parameters โ€” instantly, with correct handling of Unicode (UTF-8) so umlauts, emoji and non-Latin scripts round-trip without corruption.

Handy for inspecting data URIs, auth headers, webhook payloads and odd-looking query strings. Everything happens in your browser; nothing is sent to a server.

How to use it

  1. Choose the mode: Base64 encode/decode or URL encode/decode.
  2. Paste the input โ€” the output updates live.
  3. Copy the result.

Frequently asked questions

Does it handle Unicode correctly?

Yes. Text is encoded as UTF-8 before Base64, which is what browsers, Node and most APIs expect. Plain btoa() would fail on non-Latin characters.

What is the difference between encodeURI and encodeURIComponent?

encodeURIComponent escapes everything that has meaning in a URL (including / ? & =) and is what you want for a single query-parameter value. The tool uses that behaviour for URL encoding.

Is Base64 encryption?

No. Base64 is an encoding, fully reversible by anyone. Never use it to hide secrets.

Also on this page

Base64 Decode & Encode ยท URL Decode & Encode

Free, private, no account. Like every DevForge tool, this one runs in your browser and never uploads your files. See all 35 free tools or join the DevForge community to share your own games, tools and assets.