URL Encoder & Decoder – Free Online Percent Encoding Tool

Encode or decode URLs and query parameters using standard percent-encoding — instantly in your browser. Choose from three encoding modes: encodeURIComponent (for query values), encodeURI (for full URLs), or form-encoding (HTML form submissions with + for spaces). Includes a Query String Parser that decodes any URL or raw query string into a readable key-value table, and a Query String Builder where you can add, edit, and remove parameters and copy the encoded result. Perfect for web developers, API testing, and debugging URL issues.

Encodes all chars except A–Z a–z 0–9 - _ . ! ~ * ' ( ). Best for query param values.

How to Use the URL Encoder & Decoder

What is URL encoding?

URLs can only contain a limited set of ASCII characters. Special characters — like spaces, accents, and symbols — must be percent-encoded: replaced by a % sign followed by their two-digit hexadecimal value. Example: a space becomes %20, an ampersand becomes %26.

Encoding modes:

encodeURIComponentEncodes everything except letters, digits, and - _ . ! ~ * ' ( ). Best for query parameter values.
encodeURIEncodes a full URL, preserving valid URI structural characters like : / ? # &.
Form encodeLike encodeURIComponent but replaces spaces with + instead of %20. Used in HTML form submissions (application/x-www-form-urlencoded).

Query String Parser & Builder:

  • Parser: Paste any URL or raw query string (e.g. ?name=John%20Doe&lang=pt) to decode all parameter pairs into a readable table.
  • "Edit in builder →": Load parsed params into the builder with a single click.
  • Builder: Enter key-value pairs and generate a properly encoded query string. Add/remove rows, change encoding mode.