URL Encode/Decode

Encode and decode URLs

Category

Encode / Decode

How to Use

  1. Select encode or decode mode
  2. Enter a URL or encoded URL
  3. Result is shown automatically; URL components are parsed below

Examples

  • URL encode

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

    Output: https%3A%2F%2Fexample.com%2Fpath%3Fq%3Dhello%20world

FAQ

encodeURIComponent vs encodeURI?
This tool uses encodeURIComponent, which encodes all special characters including /, ?, &. Ideal for encoding URL parameter values.

Related tools