Justools

URL Encode

Percent-encode or decode URL query values so links and API calls parse correctly.

Free tools that often go together. Everything runs in your browser.

How to use this tool

  1. Paste URL text.
  2. Click Encode URL or Decode URL.
  3. Copy the output.

Frequently asked questions

What is URL encoding?

URL encoding, also called percent-encoding, replaces characters that aren't safe inside a URL, like spaces, ampersands, and accented letters, with a percent sign followed by a hex code. Browsers and servers rely on this so a URL is parsed correctly instead of breaking apart at the wrong character. Without it, a search query containing a space or an ampersand could be misread as a separate parameter, or a link could simply fail to load.

When should I use it?

It's useful whenever a value needs to travel safely inside a URL: search query parameters, redirect links that contain another full URL, API testing where a parameter has spaces or symbols, and building shareable links that include user-entered text.

Who uses this tool?

Developers testing API endpoints and query strings, support teams debugging broken links sent by customers, and anyone building a URL by hand that needs to include spaces, symbols, or another full link as a parameter.

Does it encode a full URL?

It encodes exactly the text you paste. For a full URL, it's usually better to encode only the parts that need escaping, such as a query value, rather than the entire address.

Why did decoding fail?

The text likely has an incomplete percent code, such as a trailing percent sign or invalid hex characters after it, which can't be converted back into a character.

Is my URL uploaded?

No. Encoding and decoding happen entirely in your browser.

Is this the same as HTML escaping?

No. URL encoding protects characters inside a URL. HTML escaping protects characters so they display safely inside a web page instead of being read as markup.

Processed locally in your browser. Your files are never uploaded to our servers.