Developer tools

URL encoder and decoder

Encode or decode URLs and query strings using percent-encoding (RFC 3986). Handles full URLs and individual components.

  • Free, no sign-up
  • No data stored
  • Reviewed 2026-01-15

Your details

Direction

Results

About the URL Encoder/Decoder

Encode special characters in URLs to their percent-encoded form (%XX) or decode a percent-encoded string back to readable text. Choose between full URL encoding and component encoding.

How to use the URL Encoder/Decoder

  1. Paste a URL or text.
  2. Choose direction: encode or decode.
  3. Select mode: full URL or component.
  4. View the result.

Frequently asked questions

What is the difference between URL and component encoding?

Full URL encoding preserves characters like : / ? # that are valid URL structure. Component encoding encodes everything for use as a query parameter value.

Why does space become %20 or +?

In path segments, space = %20. In query strings (application/x-www-form-urlencoded), space = +. The mode determines which applies.

Are Unicode characters supported?

Yes. Non-ASCII characters are first encoded as UTF-8 bytes, then each byte is percent-encoded.