Developer Tools

URL Encoder & Decoder

Encode or decode URLs and query strings. Parse URL components automatically.

Runs in your browser

URL Parts Breakdown

Query Parameters

Key Value

What is the Url Encoder?

The URL Encoder/Decoder converts special characters in URLs to their percent-encoded equivalents and back. URLs can only contain a limited set of ASCII characters - spaces, ampersands, equals signs, and characters outside ASCII must be encoded as %XX hexadecimal sequences to be safely transmitted in a URL.

Percent-encoding (also called URL encoding) is defined by RFC 3986. A space becomes %20 (or + in form data), an ampersand becomes %26, and a Chinese character like 你 becomes %E4%BD%A0. Understanding this is essential for API development, query string construction, and debugging web requests.

Use it alongside the {base64_link} for encoding binary data, or the Regex Tester to extract URL components with patterns.

How to use the Url Encoder

Paste a URL or query string into the input. Click Encode to percent-encode special characters, or Decode to convert encoded sequences back to readable text. The Parse URL view breaks a full URL into its components: scheme, host, path, query parameters, and fragment.

The query parameter table lets you edit individual parameters and reconstructs the full encoded URL automatically.

Frequently asked questions

URL encoding (also called percent-encoding) replaces unsafe characters in a URL with %XX hex sequences, so that the URL can be transmitted safely. For example, a space becomes %20.
Whenever you put user input into a query string, a redirect parameter, or any URL field that may contain spaces, ampersands, equals signs, slashes or non-ASCII characters.
encodeURI keeps URL structural characters (like : / ? &) intact, so it is for full URLs. encodeURIComponent encodes everything, suitable for individual query parameter values.
Yes. The tool supports both encoding and decoding so you can quickly inspect or transform any URL or query string.