Encode special characters in URLs using percent-encoding and decode URL-encoded strings back to plain text. Fast, free, and browser-based.
The URL Encoder & Decoder converts characters that are not allowed in URLs into their percent-encoded equivalents (e.g. space → %20) and decodes them back to readable text. This is essential when building URLs with query parameters, form submissions, or API endpoints that contain special characters.
QWhat is URL encoding?
URL encoding (percent-encoding) replaces characters that are not valid in a URL with a % followed by their two-digit hexadecimal code. For example, a space becomes %20 and & becomes %26.
QWhat is the difference between encodeURI and encodeURIComponent?
encodeURI encodes a full URL while preserving its structure characters (/, :, ?, #, &). encodeURIComponent encodes individual query parameter values and escapes additional characters like /, :, and ?.