What is URL Encoder Decoder?
URL Encoder Decoder — A URL Encoder/Decoder is a free tool that converts special characters in URLs to percent-encoded format (%XX) and decodes encoded URLs back to readable text.
Loading your tools...
Convert special characters, spaces, Unicode, and reserved symbols to URL-safe percent-encoding (%XX format per RFC 3986) and decode percent-encoded strings back to readable text — essential for building query strings, API parameters, redirect URLs, and UTM campaign links.
URL Encoder Decoder: Paste text to URL-encode it (spaces become %20, & becomes %26), or paste an encoded URL to decode it back to readable form. Essential for constructing query strings and debugging URL parameters.
Loading Tool...
URL Encoder Decoder — A URL Encoder/Decoder is a free tool that converts special characters in URLs to percent-encoded format (%XX) and decodes encoded URLs back to readable text.
Paste plain text, query parameter values, or Unicode characters into the Encode panel to convert them to URL-safe percent-encoded format (%XX hex values).
Paste a percent-encoded URL string into the Decode panel to convert it back to human-readable text with all special characters restored.
Review the output to verify correct encoding — check that spaces become %20, ampersands become %26, and UTF-8 characters produce proper multi-byte sequences.
Copy the encoded or decoded result with one click for use in API requests, query strings, redirect URLs, analytics parameters, or application code.
Encoding query parameter values with special characters before appending them to API endpoints and REST URLs
Decoding percent-encoded redirect URLs from Google Ads, Facebook Ads, email marketing platforms, and analytics tracking links
Debugging URL-encoded payload values in server logs, API request/response bodies, and webhook data
Building UTM campaign tracking URLs with properly encoded utm_source, utm_medium, and utm_campaign parameter values
Encoding file paths, search queries, and user input containing spaces, slashes, and Unicode characters for web applications
URL encoding (formally called percent-encoding) is defined in RFC 3986 as the standard method for representing special characters in Uniform Resource Identifiers (URIs). Every character that is not an unreserved character (A-Z, a-z, 0-9, hyphen, underscore, period, tilde) must be encoded as a percent sign followed by two hexadecimal digits representing the character's byte value. For example, a space becomes %20, an ampersand becomes %26, an equals sign becomes %3D, and a forward slash becomes %2F. UTF-8 Unicode characters encode as multi-byte sequences — a checkmark character becomes %E2%9C%93. This encoding ensures URLs remain valid across all browsers, servers, and network infrastructure without ambiguity.
In web development, JavaScript provides encodeURIComponent() for encoding individual URL components (query parameter values, path segments) and encodeURI() for encoding complete URLs while preserving structural characters like ://?#. The critical distinction: always encode individual parameter values with encodeURIComponent(), never entire URLs, to avoid breaking URL structure. This online tool replicates encodeURIComponent/decodeURIComponent behavior in a visual interface for quick verification without opening browser DevTools or writing scripts. It is especially valuable for marketers building UTM-tagged campaign URLs, developers debugging API query strings, QA engineers verifying redirect chains, and analysts decoding tracking URLs from advertising platforms.
A frequent mistake is double-encoding values. If you see `%2520`, the value was likely encoded twice. Decode once, verify the original string, then re-encode only where needed.
Marketers and SEO teams often use URL encoding for campaign parameters and redirect chains. This tool helps verify UTM values and destination links before publishing.
Convert plain text to percent-encoding and decode it back instantly.