Skip to main content
JoliTools

URL Encoder & Decoder

Encode or decode URL text so special characters work correctly.

Encoded output

Encoded text will appear here…

Full URL or URL component?

This tool uses encodeURIComponent, which encodes every special character, use it for a URL component such as a query-string value (?q=hello%20world). To encode a full URL while keeping its structure (: / ? # &) intact, use JavaScript's encodeURI instead.

Encoding and decoding happen entirely in your browser. Nothing is sent or stored anywhere.

About this tool

A URL Encoder and Decoder converts characters into a format that can be safely included in web addresses. Some characters have special meanings in URLs, while others need to be represented using percent encoding. For example, a space can be represented as %20 in a URL component. Encoding changes text into this format, while decoding turns valid percent encoded sequences back into readable characters. This is useful when preparing query values, checking web addresses, debugging links, and working with data passed between web applications.

Suppose you want to include the phrase "coffee and tea" as a value in a URL. The spaces need to be represented in an encoded form so the value can be handled correctly. Encoding the text produces "coffee%20and%20tea". Decoding that value changes it back to "coffee and tea". This makes it easier to inspect query parameters and understand how special characters are represented in a web address.

How to use the url encoder & decoder

  1. 1Paste the URL or text you want to convert.
  2. 2Choose Encode or Decode.
  3. 3Review the converted result.
  4. 4Copy the result for use in a link or application.

Good to know

Choose the correct operation for the text you are working with. URL encoding is often applied to individual query parameter values rather than an entire web address. Encoding a complete URL without considering its structure can change separators such as question marks, ampersands, and equal signs. There are also different encoding rules for URL components and full URLs. A plus sign may represent a space in form encoded query data, while in other URL contexts it can represent a literal plus sign. Check which format your application expects before using the result. Invalid percent encoded sequences may produce a decoding error rather than readable output. This tool converts text in your browser and does not open, verify, or visit the resulting address. Your input is processed locally and is never uploaded to JoliTools.

Frequently asked questions

URL encoding represents certain characters using a percent sign followed by hexadecimal values so they can be included safely in URL components.

More free tools you might find useful.

Part of Developer Tools on JoliTools, free tools, no sign-up.