100% Private
All encoding and decoding happens in your browser. Your data never leaves your device.
Encode and decode URLs, URI components, and query strings instantly. Parse URLs into their parts, build query strings with key-value pairs, and switch between component and full URL encoding modes.
Using encodeURIComponent / decodeURIComponent — encodes all special characters. Best for query parameter values.
Enter decoded text on the left or encoded text on the right
Click Encode or Decode to convert between formats, or enable real-time encoding
Toggle between Component mode (encodeURIComponent) and Full URL mode (encodeURI)
Use the URL Parser to break down any URL into protocol, host, port, path, query params, and hash
Use the Query String Builder to add key-value pairs and generate a query string
All encoding and decoding happens in your browser. Your data never leaves your device.
Switch between encodeURIComponent for individual values and encodeURI for full URLs, depending on your use case.
Break down any URL into its parts or build query strings from scratch with an interactive key-value pair editor.
Enable live encoding to see results instantly as you type, without clicking any buttons.
encodeURI encodes a full URL but preserves characters like :, /, ?, #, and & that are part of the URL structure. encodeURIComponent encodes everything except letters, digits, and - _ . ~ making it ideal for encoding individual query parameter values.
No. All URL encoding and decoding happens entirely in your browser using JavaScript. Your data never leaves your device.
URLs can only contain certain ASCII characters. Special characters like spaces, &, =, and non-ASCII characters must be percent-encoded (e.g., space becomes %20) to be safely included in URLs and query strings.
Yes. Paste any URL into the URL Parser section and it will break it down into protocol, host, port, path, individual query parameters, and hash fragment.
The Query String Builder lets you add key-value pairs interactively and generates a properly encoded query string that you can append to any URL.