URL Encode & Decode
Encode URLs for safe transmission or decode percent-encoded strings back to readable text.
Your data stays in your browser — nothing is uploaded to any server.
or try sample data
Encode URLs for safe transmission or decode percent-encoded strings back to readable text.
Your data stays in your browser — nothing is uploaded to any server.
URL encoding (also called percent-encoding) replaces unsafe characters in URLs with a percent sign followed by their hex code. This ensures URLs transmit correctly across the internet. For example, a space becomes %20 and an ampersand becomes %26.
encodeURI() to encode a full URL while preserving the structure (://?#&= are kept).encodeURIComponent() to encode a value for use inside a query parameter (encodes everything including &, =, ?).