Free Tool

URL Encoder / Decoder

URL-encode special characters for safe use in query strings, or decode percent-encoded URLs back to readable text.

URL Encoded

URL Decoded

What is URL encoding?

URL encoding (percent-encoding) replaces unsafe characters with a % sign followed by two hex digits. Spaces become %20 or +, & becomes %26, and so on. It is required whenever special characters appear in query string values.

How to use

  1. To encode: type or paste text in the top input — the encoded output updates live.
  2. To decode: type or paste a percent-encoded string in the bottom input — the decoded text updates live.

All encoding happens in your browser — nothing is sent to any server.

Frequently Asked Questions

What is the difference between encodeURI and encodeURIComponent?
encodeURI encodes a full URL, leaving characters like /, ?, # intact. encodeURIComponent encodes a single URI component (a query value), encoding those characters too. This tool uses encodeURIComponent for maximum safety.
Is this tool free?
Yes, completely free with no sign-up.