URL Encoder & Decoder
Encode or decode URLs and query strings. Handles special characters, spaces, and Unicode.
Advertisement
Advertisement
Common Encoded Characters
Space
%20
#
%23
&
%26
=
%3D
/
%2F
?
%3F
+
%2B
@
%40
:
%3A
,
%2C
"
%22
'
%27
Advertisement
About this tool
How to use URL Encoder & Decoder
- 1Select Encode or Decode mode
- 2For encoding, choose between encodeURIComponent (encodes everything) and encodeURI (preserves URL structure)
- 3Paste your URL or text — the result appears instantly
- 4Click Copy to copy the result, or Swap to use it as new input
Frequently Asked Questions
What is URL encoding?
URL encoding (percent encoding) replaces special characters with a % followed by their hex value. For example, a space becomes %20. It ensures URLs are transmitted correctly over the internet.
What is the difference between encodeURIComponent and encodeURI?
encodeURIComponent encodes everything including /, ?, &, = (use for encoding individual query parameters). encodeURI preserves URL-structural characters and is used to encode a full URL.
Why are some URLs encoded with + instead of %20?
In query strings (after ?), spaces are sometimes encoded as + (application/x-www-form-urlencoded format). The decoder handles both. In paths, %20 is standard.
Related Tools
Word & Character Counter
Count words, characters, sentences, and paragraphs. Get reading time and top keywords.
JSON Formatter & Validator
Format, beautify, and validate JSON. Also minifies JSON for compact output.
Base64 Encoder & Decoder
Encode text to Base64 or decode Base64 back to readable text instantly.
QR Code Generator
Generate QR codes for URLs, text, WhatsApp links, and UPI payment IDs.
Advertisement