Skip to main content
Back to Developer Tools

URL Encoder / Decoder

Encode or decode URL components, query strings, and full URLs locally in your browser.

Runs locally. Values are not uploaded.
Operation
Input length
0
Output length
0
Percent escapes
0
Input
Output
Encoding rule
encodeURIComponent(value) -> percent-encoded component
value
Text, query parameter, or path segment to encode
%HH
Hexadecimal byte escape used for reserved or non-ASCII characters
How this tool works
  1. Choose whether the input is a URL component or a full URL.
  2. Use browser-native URL encoding functions to convert reserved characters safely.
  3. Keep all processing in the browser so the URL text is not uploaded.
Worked examples

Query parameter

  • Input: LED display cost

LED%20display%20cost

Use component encoding for individual query values.

Full URL

  • Input: https://example.com/search?q=hello world

https://example.com/search?q=hello%20world

Use full URL encoding when the scheme and separators should remain readable.

FAQ