URL Encode / Decode

Percent-encode or decode URL query strings and path segments with component or full-URI modes.

About this tool

Encode special characters in query values and path segments for safe HTTP requests, or decode %XX sequences back to readable text. Switch between encodeURIComponent-style component encoding and encodeURI full-URI mode.

What you get

  • Component encoding (encodeURIComponent) for query values
  • Full-URI encoding (encodeURI) preserving :// and ?
  • Decoded plain text from percent-encoded input
  • Live encode/decode as you type
  • Bidirectional encode ↔ decode mode switch
  • One-click copy of the result

How to use

Pick encode or decode and component vs full URI, paste a string, then copy the encoded or decoded result.

Related searches

  • url encode
  • url decode

FAQ

How to URL encode special characters?

Paste the string, choose Encode, and pick component mode for query values or full-URI mode for entire URLs—then copy the percent-encoded result.

What is the difference between encodeURI and encodeURIComponent?

Component encoding escapes nearly every reserved character—ideal for query values. Full-URI encoding leaves structural characters like : and / intact.

How to decode percent-encoded URLs?

Switch to Decode and paste %XX sequences. The tool returns readable text for paths, queries, or full URIs.

When should I percent-encode query parameters?

Encode values that contain spaces, ampersands, unicode, or other reserved characters so servers parse the query string correctly.

How to encode spaces and plus signs in URL query strings?

Use encodeURIComponent on each value—spaces become %20 (or + in some form contexts); the tool shows the correct encoding for your chosen mode.

By using this tool you agree to our Terms of Use and Privacy Policy. Results are provided as-is without warranty.