URL Encoder / Decoder
Encode and decode URLs and query parameters with component-level control.
Encode as:
Quick insert:
Input (Plain Text)
Output (Encoded)
Enter text to see encoded output…
Encoding Types
encodeURI
Encodes a full URL. Preserves: A-Z a-z 0-9 ; , / ? : @ & = + $ - _ . ! ~ * ' ( ) #
encodeURIComponent
Encodes a URL component. Encodes everything except: A-Z a-z 0-9 - _ . ! ~ * ' ( )
URL Structure
Parses the URL and selectively encodes different parts: path, query parameters, and fragment.
Component Display
When decoding, shows individual URL components (protocol, host, path, query, hash) separately.
All encoding/decoding happens locally in your browser. No data is sent to any server.
ADVERTISEMENT