Jakojak.Tools
Input (Text)
Chars: 0 Size: 0 B
Output (Encoded)
Chars: 0 Size: 0 B Ratio: —
URL Breakdown
Paste a full URL (https://…) to see its protocol, host, path, query parameters, and fragment parsed here.

What is URL encoding?

URL encoding (percent-encoding) replaces characters that have a special meaning in a URL with a % and two hex digits. A space becomes %20 and & becomes %26. You need it when a query value contains spaces, symbols or non-English letters, so that servers read the URL correctly.

How to encode or decode a URL

  1. Pick Encode or Decode.
  2. Pick Component for one value, or Full URL to keep the URL structure.
  3. Type or paste your text. The result updates as you type.
  4. If you paste a full URL, read the URL Breakdown table for the protocol, host, path, query parameters and fragment.
  5. Click Swap to move the result to the input.

Component or Full URL?

Component uses encodeURIComponent. It encodes every reserved character, including / ? # & =. Use it for one query value or path segment.

Full URL uses encodeURI. It keeps : / ? # & = so the result is still a working URL. Use it for a whole URL that contains spaces or non-ASCII letters.

Frequently Asked Questions

What is the difference between Component and Full URL mode?

Component mode (encodeURIComponent) encodes every reserved character, for one value inside a URL. Full URL mode (encodeURI) keeps the characters that build the URL, such as / and ?, so the result is still a valid URL.

When must I URL-encode a string?

Encode any text that you put into a URL: query values, path segments, fragments and form bodies. Without encoding, characters such as spaces, &, =, ? and + change what the URL means.

Why is a space sometimes + and sometimes %20?

HTML forms (application/x-www-form-urlencoded) write a space as +. Paths and most query strings use %20. This tool writes %20. Replace it with + if a form endpoint needs that.

Is URL encoding the same as encryption?

No. Anyone can decode a URL-encoded string. Do not use it to hide sensitive data.

Does this tool send my data to a server?

No. Encoding, decoding and the URL breakdown run in your browser.