URL Encoder / Decoder
Encode special characters for safe URLs or decode percent-encoded strings. Supports both full URL and component encoding.
How to Use
Select 'Encode' or 'Decode' mode.
Choose encoding type: 'Component' encodes everything (for query params), 'Full URL' preserves URL structure.
Enter your text or URL in the input box.
Click the button to encode or decode, then copy the result.
Frequently Asked Questions
What is the difference between Component and Full URL encoding?
Component encoding (encodeURIComponent) encodes all special characters including /, ?, &, = — use this for query parameter values. Full URL encoding (encodeURI) preserves the URL structure and only encodes characters that aren't valid in any part of a URL.
When should I URL-encode?
You should URL-encode whenever you include user input or special characters in URLs, especially in query parameters. This ensures characters like &, =, and spaces don't break the URL structure.
Is my data sent to any server?
No. All encoding and decoding happens in your browser. Nothing is transmitted to any server.