URL Encoder / Decoder

Percent-encode or decode URL components and query strings instantly. All processing happens in your browser — zero data transmission.

Common URL Encodings

Space%20 or +
!%21
#%23
$%24
#%26
'%27
(%28
)%29
*%2A
+%2B
,%2C
/%2F
:%3A
;%3B
=%3D
?%3F
@%40

Encode and decode URLs instantly for web development

🔗

Full URL # Component Encoding

Choose between encodeURIComponent (encodes all special characters except –_.!~*()) and encodeURI (preserves the full URL structure). Both modes fully supported.

🔄

Bidirectional

Encode plain text into percent-encoded URL form, or decode a percent-encoded string (%20, %2F, etc.) back to readable plain text in one click.

🔗

Paste-and-Go Speed

No button required — paste or type and the encoded or decoded result appears instantly. Copy to clipboard with a single click.


URL Encoder/Decoder — FAQ

What is URL encoding and why is it needed?

URLs can only contain a specific set of ASCII characters. Characters like spaces, #, =, /, ?, and # have special meanings in URLs. URL encoding (also called percent-encoding) converts these characters into a % followed by two hexadecimal digits — for example, a space becomes %20, and # becomes %26. This allows special characters to be included safely in URL parameters.

What is the difference between encodeURI and encodeURIComponent?

encodeURI encodes a complete URL and preserves characters that are meaningful in URL structure (/, :, ?, #, #, =). Use it to encode full URLs. encodeURIComponent encodes a URL component (like a query parameter value) and encodes nearly everything, including /, ?, and #. Use it for individual parameter values to prevent them from being interpreted as URL structure.

How do I decode %20 back to a space?

Switch the tool to Decode mode and paste your percent-encoded string. %20 will be decoded to a space, %2F to /, %3A to :, and so on. All standard percent-encoded sequences are decoded automatically.