URL Encode / Decode

Percent-encode or decode URL component text.

Scope: This utility handles URL components, not complete URL normalization.

Workbench

Inputs stay on this page.

This encodes one URL component. Use URL Inspector for a complete absolute URL.

How to use URL Encode / Decode

  1. Choose “Encode component” or “Decode component”.

  2. Paste the text or the percent-encoded value.

  3. Press “URL-encode” or “URL-decode”, then copy the result.

About this tool

URL encoding (percent-encoding) replaces spaces and reserved characters such as &, ? and / with codes like %20, so a value can sit safely inside a query string or path segment.

Use it for one component at a time, such as a search term or a parameter value. To take a whole address apart, use the URL Inspector.

Questions

Is a space encoded as %20 or +?
This tool uses %20, the encoding for URL components. A + only means a space inside HTML form data.