DevTools
Language

URL Encode/Decode

DevTools URL Encode/Decode applies encodeURIComponent and decodeURIComponent to URLs and query strings locally in your browser—avoid broken requests from special characters, free with no sign-up.

URL Encode/Decode

Encode or decode URLs and query parameters so special characters transmit safely.

Result
https%3A%2F%2Fexample.com%2Fsearch%3Fq%3Dhello%2520world%26lang%3Den

About this tool

When building API URLs, redirects, or form params, spaces, non-ASCII text, and symbols need percent-encoding. The tool supports both directions with instant output.

How to use

  1. Choose encode or decode mode.
  2. Paste a URL or query string.
  3. Click Convert and copy the result.

FAQ

When should I URL-encode parameters?

Encode when values contain spaces, Unicode, &, =, or other reserved characters so servers and browsers parse them correctly.

What is the difference between encodeURI and encodeURIComponent?

encodeURI keeps URL structure characters like / ? #. encodeURIComponent encodes all reserved characters—use it for individual parameter values.

Is my URL uploaded?

No. Encoding and decoding run locally in your browser.

Is this tool free?

Yes. No registration required.

Related tools