URL Encoder & Decoder
Encode URL components for HTTP requests, or decode percent-encoded URLs back to readable text.
Runs locally in your browser
Decoded (Plain Text)
Encoded (Percent-Encoded)
What is URL Encoding?
URL encoding, also called percent encoding, replaces unsafe characters with % escape sequences. It keeps query parameters, path segments, redirect URLs, and form values safe inside HTTP requests.
Use component mode for a single query parameter value such as hello world. Use full URL mode when you want to preserve URL syntax such as https://, slashes, and question marks.
FAQ
What is the difference between encodeURI and encodeURIComponent?
encodeURI is for a complete URL and leaves URL separators intact. encodeURIComponent is for one value and encodes separators such as ?, &, and =.
Why are spaces encoded as %20?
%20 is the standard percent-encoded representation for a space. Some form encoders use + in query strings.