Developer Tools
Percent-encode or decode UTF-8 text, emoji, URL components and complete URLs. Choose component or full-URL semantics, copy the result, and optionally inspect an absolute URL's protocol, hostname, port, path, query parameters and hash.
Simple workflow
How to use URL Encoder / Decoder
- 1Choose Encode or Decode and select URL component or Full URL mode.
- 2Enter text or a URL, then process it locally.
- 3Copy the output, reuse it as input, or parse an absolute URL into its parts.
Good to know
Frequently asked questions
What is the difference between the two modes?
URL component matches encodeURIComponent() and encodes separators such as ? and &. Full URL matches encodeURI() and preserves structural URL separators.
Does it support emoji and non-Latin text?
Yes. Browser URI functions encode Unicode as UTF-8 percent sequences and decode valid sequences back to text.
Why does decoding show an error?
A percent sign must be followed by a valid two-digit hexadecimal byte sequence. Malformed or incomplete sequences are rejected instead of being silently altered.
Are entered URLs opened or requested?
No. Encoding, decoding and parsing happen locally; the tool does not visit or transmit the URL.
Practical guide
Choose component encoding or preserve full URL structure
URL component mode follows encodeURIComponent(): it is appropriate for one query value or path segment and encodes separators such as &, = and ?. Full URL mode follows encodeURI(): it preserves those structural separators while encoding spaces and non-ASCII text.
Decoding reverses valid UTF-8 percent sequences. Malformed sequences are reported instead of partially changing the value. Parse URL requires an absolute URL and displays its parts without requesting the address.
Worked example
Encode a search query value
- Start with
- plants & pots 🌱
- Choose
- Choose Encode and URL component.
- You get
- The output preserves the exact text as percent-encoded UTF-8 and can safely occupy one query parameter value.
Tips for a useful result
- Encode individual query values before joining them with & and =.
- Do not repeatedly encode an already encoded value unless double encoding is intentional.
- Parsing a URL does not verify that its hostname exists or that the page is safe.
Privacy
The tool calls native URL and URI functions in your browser. Entered URLs are not opened, fetched, stored or sent to analytics.
Keep going