URL Encoder / Decoder
Encode or decode URLs and URI components instantly. Auto-detects whether to encode or decode.
Encoding mode
Uses encodeURIComponent — encodes all special characters including /, ?, &, =, #.
Paste a URL or text to get started
Results appear live as you type
Ctrl+Enter to runCtrl+Shift+C to copy
Learn More
URL Encoding & Decoding: Make URLs Web-Safe Instantly
Special characters break URLs. Learn how percent-encoding works and when to encode or decode your strings.
What Is URL Encoding?
URL encoding (also called percent-encoding) converts characters that are unsafe or reserved in URLs into a safe format. Each unsafe character is replaced by a % sign followed by its two-digit hexadecimal ASCII code. For example, a space becomes %20 and an ampersand becomes %26.
5 min readRead full guide