URL Component Encoder and Decoder

Encode or decode a URL component.

Formatting

Keep query values separate from URL structure

Suppose a search field contains tea & coffee. Encode just that value to get tea%20%26%20coffee, then append it after ?q=. Encoding the whole address would also escape the question mark, equals sign, and other separators.

If a value arrives as tea+coffee, inspect the full query with the URL Query String Parser. Query form decoding treats plus as a space. Component decoding here leaves a literal plus untouched.

How to use it

  1. Paste a query value, path segment, or percent-encoded component.
  2. Choose Encode or Decode.
  3. Place the result in the intended URL component.

Common questions

Should I encode the entire URL?
Use this tool for an individual component. Encoding a full URL also escapes its separators and protocol punctuation.
Does plus always mean space?
In form-encoded query data it often does. The component decoder here decodes percent escapes and keeps literal plus signs.

The tool processes your input in this browser. It does not upload the input itself.