🔗

URL Encoder / Decoder

Encode special characters in URLs to percent-encoded format, or decode percent-encoded URLs back to plain text.

Common encodings: space → %20 & → %26 = → %3D ? → %3F # → %23 / → %2F

Frequently Asked Questions

URL encoding (percent-encoding) replaces characters that are not allowed in URLs with a % sign followed by two hex digits. For example, a space becomes %20. This ensures URLs are transmitted correctly over the internet.
encodeURI encodes a full URL, preserving characters like ?, &, =, and # that have special meaning in URLs. encodeURIComponent encodes a single URL parameter value, also encoding those special characters — use it for query string values.