Encoding

URL Encoder / Decoder

Encode URL components or decode percent-encoded text in your browser.

When decoding, %20 preserves literal + signs. Choose + for form values to decode + as a space. Encoded %2B always becomes a literal +.

Examples
  • hello world becomes hello%20world
  • Tom & Jerry becomes Tom%20%26%20Jerry
  • q=red shoes can use q%3Dred%20shoes as a component.

How to use URL Encoder / Decoder

Best for

  • Encoding URL components, query values, and reserved characters.
  • Decoding percent-encoded text into readable text.
  • Checking how spaces, ampersands, and equals signs are represented in a URL component.

Steps

  1. Paste a URL component or encoded string into the input box.
  2. Choose Encode or Decode.
  3. Choose %20 for URL components or + for form values. When decoding, %20 preserves literal plus signs; + for form values converts them to spaces.

Notes

  • Usually encode individual URL components, not an entire URL.
  • Use HTML entities for HTML text, not for URL query values.

FAQ

Should spaces be encoded as %20 or plus signs?

%20 represents spaces in URL components; some form-style query values use + instead. Select the matching Space format for encoding or decoding. When decoding, %20 preserves literal + signs, while + for form values converts them to spaces. Encoded %2B becomes a literal + in either format.

Should I encode a whole URL?

Usually no. Encode the path segment or query value that needs escaping so the URL structure remains intact.