URL Component Encoder / Decoder
Encode or decode URL path segments, query values, and hash text locally in your browser with encodeURIComponent / decodeURIComponent.
URL Component Encoder / Decoder
Safely encode and decode path segments, query values, and hash text locally in your browser with native encodeURIComponent / decodeURIComponent.
How to use it
- Type plain text on the left and the encoded URL component updates instantly on the right.
- You can also paste encoded content into the right panel to decode it back.
- If the encoded string is malformed, the tool shows an error right away.
- Copy the final value for query strings, path segments, anchors, or redirect parameters.
Features
- Native encodeURIComponent / decodeURIComponent behavior
- Real-time two-way conversion
- 100% local browser processing
When is it useful?
- Encoding query parameter values safely
- Preparing path segments, slugs, and hashes
- Debugging malformed redirect or callback parameters