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.
Paste your URL, query string, or encoded URL into the input box above.
Click Encode URL to percent-encode special characters (spaces become %20, & becomes %26, etc.).
Click Decode URL to convert a percent-encoded URL back to its readable form.
Click Copy to copy the result to your clipboard.
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.
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.