Skip to main content
ToolstikToolstik

URL Encoder / Decoder

Processed in your browser

Encode or decode URLs and query components with encodeURI or encodeURIComponent.

What this tool does

Encode or decode URLs and query components with encodeURI or encodeURIComponent.

Features

  • Full URI mode
  • Component mode
  • Copy result

How to URL-encode text

  1. Paste a URL or query string.
  2. Choose component mode for query values or full URI mode for paths.
  3. Click Encode or Decode and copy the output.

Example: encode a query value

Input
price=10&20% off
Result
price%3D10%2620%25%20off

Common uses

  • Encode query parameter values that contain &, =, or spaces.
  • Decode tracking links to read their parameters.
  • Debug redirect URLs nested inside other URLs.

Supported formats

  • URLs and URI components

Limits

  • UTF-8 text

Limitations

  • Does not validate that a URL is reachable.

Privacy

Processing is local; URLs are not fetched.

Frequently asked questions

Related guides

Browse the free developer toolkit for every related tool and guide.