URL Encode / Decode

Percent-encode or decode URL components.

About this tool

Percent-encode query values and path segments, or decode %XX sequences back to readable text. Switch between component encoding (encodeURIComponent) and full-URI encoding (encodeURI).

What you get

  • Component or full-URI percent encoding
  • Decoded text from encoded input
  • Live conversion with copy button

How to use

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

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.

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