URL breakdown
Paste a complete absolute URL to inspect its scheme, host, port, path, query and fragment.
Encode URLs and URI components into UTF-8 percent-encoding, decode escaped strings, inspect query parameters, compare encodeURIComponent with encodeURI, and handle RFC 3986 or form-style query values without sending your text to a conversion service.
Paste a complete absolute URL to inspect its scheme, host, port, path, query and fragment.
A URL or query string containing parameters will be decoded into key/value entries here.
Your encoded or decoded result is ready. Continue with a related developer or link task.
This URL encoder and decoder converts readable text into percent-encoded URL data and reverses encoded sequences back to Unicode text. It covers the most common developer searches and tasks around URL encode, URL decode, percent encoding, URI encode, URI decode, URL escape, URL unescape, encodeURIComponent, decodeURIComponent, encodeURI, decodeURI, query parameter decoding and UTF-8 URL characters.
The conversion engine uses built-in browser URL and JavaScript encoding primitives instead of loading an external conversion package. That keeps processing fast for normal text, developer payloads, API parameters, tracking URLs, OAuth or redirect parameters, UTM links, search terms and copied query strings.
| Mode | Best for | Important behavior |
|---|---|---|
| Component | One query value, path segment or isolated string | Uses encodeURIComponent and encodes structural characters such as & = ? # /. |
| Full URL | An already structured complete URI/URL | Uses encodeURI, preserving URI syntax such as protocol separators, query separators and fragments. |
| RFC 3986 Component | Strict URI components, signatures and systems expecting RFC 3986-style escaping | Starts with encodeURIComponent and additionally percent-encodes ! ' ( ) *. |
| Form / Query Value | application/x-www-form-urlencoded values | Uses URLSearchParams serialization rules, including + for spaces and form-style percent-encoding. |
Percent-encoding represents a byte as a percent sign followed by two hexadecimal digits. For example, a space is commonly represented as %20, a literal percent sign becomes %25, an ampersand can become %26, and a slash can become %2F when the slash is data rather than a URL path separator. Non-ASCII text is first represented as UTF-8 bytes and those bytes can then appear as multiple %XX sequences.
| Character | Common percent-encoded form | Why context matters |
|---|---|---|
| space | %20 or + | + is specifically common in form/query serialization; it is not a universal replacement for spaces in every URI component. |
| % | %25 | A second encoding pass can turn an existing %20 into %2520. |
| & | %26 | Encode it inside a query value so it is not mistaken for the next parameter separator. |
| = | %3D | Encode it when it belongs inside a value rather than separating a parameter name from its value. |
| ? | %3F | Encode it inside a component; keep it in a full URL when it introduces the query string. |
| # | %23 | Encode it when it is data; keep it when it intentionally starts a URL fragment. |
| / | %2F | Encode it inside a component but preserve it when it separates path segments in a complete URL. |
The workspace includes a query parameter inspector in addition to basic URL encoding. When the current readable URL or query string contains parameters, the tool parses them as form-style query data, converts + to spaces where appropriate, decodes percent-encoded keys and values, preserves repeated parameter names as separate entries, and shows empty values rather than silently discarding them.
For absolute URLs, the URL breakdown also shows the protocol, hostname, port, path, query string and hash fragment. This is useful for debugging API URLs, analytics links, UTM parameters, redirect URLs, callback URLs, affiliate links and long web addresses without manually separating each section.
The Component and Full URL decoders intentionally use the browser's strict decodeURIComponent or decodeURI behavior. A malformed escape such as an incomplete % sequence or invalid UTF-8 percent bytes produces a clear error instead of silently claiming a valid decoded result. The form/query mode follows URLSearchParams parsing behavior, which is designed for application/x-www-form-urlencoded query data.
Encoding can also fail if a JavaScript string contains an isolated UTF-16 surrogate rather than a valid Unicode scalar sequence. When supported, this page checks whether text is well-formed before encoding and explains what needs correction instead of exposing a raw browser exception.
The URL text you enter is transformed by page-specific JavaScript in the current browser. This tool does not need an external conversion API, page-specific database or server request to perform the URL encoding or decoding. Copy uses the browser clipboard when permitted, while Download TXT creates a temporary local object URL that is revoked after the download is triggered.
Current Chrome, Edge, Firefox and Safari support the core encoding functions and URLSearchParams APIs used here. Clipboard behavior can depend on HTTPS and browser permissions. There is no arbitrary text-length cap; practical capacity depends on the browser and device memory, so extremely large strings can take longer to encode, decode, count or inspect.
Technical references: MDN percent-encoding, encodeURIComponent, encodeURI, URLSearchParams, and the WHATWG URL Standard.
Continue with active developer, converter, link, data and utility tools selected from the current CorrectionCopy catalog.
URL encoding represents characters as percent-prefixed hexadecimal byte values when those characters need escaping in a particular URL context. Unicode text is represented using UTF-8 bytes before those bytes appear as %XX sequences.
encodeURIComponent is designed for individual URI components and therefore escapes more structural characters. encodeURI is intended for a complete URI and preserves many characters that give the URL its structure.
Component mode is usually the correct choice for a single parameter value because it escapes separators such as &, =, ? and # when they are data. Use Form / Query Value when your target specifically expects application/x-www-form-urlencoded serialization.
The application/x-www-form-urlencoded serialization used by URLSearchParams represents spaces as plus signs. Normal URI component encoding commonly represents a space as %20 instead.
It applies encodeURIComponent and then additionally percent-encodes !, apostrophe, parentheses and asterisk. This is useful when another system expects stricter RFC 3986 component escaping.
Yes. Valid UTF-8 percent sequences can decode to Unicode text including accented letters, Arabic, Chinese, Japanese and emoji. Malformed UTF-8 escape sequences are reported rather than presented as a successful strict decode.
%25 is the encoded representation of a literal percent sign. A value such as %2520 often indicates that an already encoded %20 sequence was encoded again.
Yes. It detects an absolute URL, a string containing a question mark, or a query-like string and displays decoded parameter names and values, including repeated names and empty values.
No. A plus sign becomes a space in form/query parsing semantics. Strict decodeURIComponent does not automatically treat + as a space, so use the mode that matches your data source.
Strict JavaScript URI decoders reject incomplete percent escapes and invalid encoded UTF-8 sequences. Fix the broken escape sequence or use Form / Query Value only when the input really follows form/query serialization.
Yes. After a successful conversion, Download TXT saves the current editable output as a UTF-8 text file whose filename begins with correctioncopy.com_.
No page-specific server conversion is required. The encoding, decoding and query inspection logic runs in the current browser and this page does not add page-specific public storage for the text you enter.
The tool does not impose an arbitrary input-length limit. Browser memory and device performance determine practical capacity, and extremely large strings can take longer to process.
Yes. The interface is touch-friendly and responsive. Core conversion works in current mobile browsers, while clipboard and download behavior can vary with browser permissions and operating-system rules.