Dev Tool

URL Encoder / Decoder

Encode URLs with percent-encoding or decode percent-encoded URL strings back to readable form. Perfect for working with API query parameters, form data, and redirect URLs.

url encoderurl decoderpercent encodingurl encode onlinedecode url stringquery string encoderurl encoding tool freeurlencode online

🛠️ URL Encoder / Decoder

Result appears here.

How to Use the URL Encoder / Decoder

  1. Paste your URL, query string, or encoded URL into the input box above.

  2. Click Encode URL to percent-encode special characters (spaces become %20, & becomes %26, etc.).

  3. Click Decode URL to convert a percent-encoded URL back to its readable form.

  4. Click Copy to copy the result to your clipboard.

What is URL Encoding?

URL encoding (also called percent-encoding) is a method of encoding special characters in a URL so they can be safely transmitted over the internet. Characters that are not allowed in URLs — such as spaces, ampersands, question marks, and non-ASCII characters — are replaced with a percent sign (%) followed by their hexadecimal code. For example, a space becomes %20 and a copyright symbol © becomes %C2%A9.

When is URL Encoding Used?

URL Encoding vs HTML Encoding

URL encoding and HTML entity encoding are different things. URL encoding uses %XX hex codes for URLs, while HTML entity encoding uses sequences like & and < for HTML documents. Use the appropriate tool for your context.