🔗 URL Encoder Decoder

← Back to Tools

encodeURIComponent

Encodes special characters (except: - _ . ! ~ * ' ( ))

decodeURIComponent

Decodes percent-encoded characters

encodeURI (Full URL)

Encodes a full URL while preserving structure

decodeURI (Full URL)

Decodes a full URL

Punycode / IDN Conversion

Convert between Unicode domain names and ASCII-compatible encoding

URL Parser

Analyze and break down URL components

Query String Breakdown

No query string found in URL

Query String Builder

Build and generate query strings

Parse Existing Query String

Parse and display query string parameters

Batch Encoder

Process multiple URLs at once (one per line)

Common URL Encodings Reference

Character Encoded Description
space %20 Space character
! %21 Exclamation mark
# %23 Hash/Fragment identifier
$ %24 Dollar sign
& %26 Ampersand/Parameter separator
' %27 Single quote
( %28 Left parenthesis
) %29 Right parenthesis
* %2A Asterisk
+ %2B Plus sign
, %2C Comma
/ %2F Forward slash
: %3A Colon
; %3B Semicolon
= %3D Equals/Parameter assignment
? %3F Question mark/Query indicator
@ %40 At symbol
[ %5B Left bracket
] %5D Right bracket

Reserved vs Unreserved Characters

Reserved characters have special meaning in URLs and should be encoded when used as data: : / ? # [ ] @ ! $ & ' ( ) * + , ; =

Unreserved characters don't need encoding: A-Z a-z 0-9 - _ . ~

encodeURIComponent → Encodes everything except: - _ . ! ~ * ' ( )

encodeURI → Preserves URL structure, doesn't encode: ; , / ? : @ & = + $ #

Punycode / IDN Info

Punycode is an ASCII-compatible encoding of Unicode used for Internationalized Domain Names (IDN).

Unicode characters are converted to ASCII with the prefix xn--.

Example: münchen.dexn--mnchen-3ya.de

\xF0\x9F\x92\x99 Tip\xF0\x9F\x93\x9A Get Bundle \x244.99