Skip to main content
ToolstikToolstik

URL Encoder / Decoder

Processed in your browser

A URL encoder percent-encodes query values that contain spaces, &, or =. Decode to read tracking links. Choose encodeURI or encodeURIComponent depending on whether you are encoding a whole URL or one parameter.

What this tool does

A URL encoder percent-encodes query values that contain spaces, &, or =. Decode to read tracking links. Choose encodeURI or encodeURIComponent depending on whether you are encoding a whole URL or one parameter.

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.

Why Toolstik

The two JavaScript methods are named in the UI so you do not encode a full URL with encodeURIComponent and break the scheme.

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.