Skip to content
U
Developer & Code Offline-ready

URL Encoder / Decoder

Encode URLs or components for safe transmission, or decode percent-encoded URLs back to plain text. UTF-8 safe.

100% private

This tool runs entirely in your browser. Your input never leaves your device — no uploads, no tracking, no accounts.

Related tools

About URL Encoder / Decoder

Encode URLs or components for safe transmission, or decode percent-encoded URLs back to plain text. UTF-8 safe.

How to use

  1. Enter your input in the tool above.
  2. Adjust any options (indent, format, etc.) to your preference.
  3. Use the Copy or Download buttons to save the result.
  4. Everything happens locally — your data never leaves your browser.

Frequently asked questions

What's the difference between encodeURI and encodeURIComponent?
encodeURI keeps URL-structural characters like :, /, ?, &, =, # intact — use it on a full URL. encodeURIComponent escapes everything except A–Z, 0–9, -, _, ., ~ — use it on individual query parameter values so they don't break the URL structure.
Does this handle UTF-8?
Yes. JavaScript's encodeURIComponent uses UTF-8 by default, so emoji, CJK, and other non-ASCII characters are encoded as multi-byte percent-escaped sequences (e.g. %F0%9F%91%8D for 👍).