URL Encoder & Decoder
Encode text for safe use in URLs or decode percent-encoded strings. Includes a URL parser to break down any URL into its components.
Common URL Encodings
Space→%20
!→%21
#→%23
$→%24
%→%25
&→%26
+→%2B
/→%2F
:→%3A
=→%3D
?→%3F
@→%40
How to Use This URL Encoder/Decoder
- Choose Encode or Decode mode
- Select Component (encodes all special characters) or Full URI (preserves URL structure)
- Type or paste your text — the result appears instantly
- Use the swap button to reverse the operation
Component vs Full URI
- Component (encodeURIComponent) — Encodes everything except
A-Z a-z 0-9 - _ . ~ ! * ' ( ). Best for encoding query parameter values. - Full URI (encodeURI) — Preserves URL structure characters like
: / ? # [ ] @ ! $ & + , ; =. Best for encoding complete URLs.
Frequently Asked Questions
Is my data safe?
Yes. All encoding and decoding is done in your browser. No data is sent to any server.
When should I URL-encode text?
URL-encode any text that contains special characters before using it in a URL, especially in query parameters. For example, spaces become %20 and ampersands become %26.
What is percent encoding?
Percent encoding (also called URL encoding) replaces unsafe characters with a % followed by two hexadecimal digits representing the character's byte value in UTF-8.