Convert text, query parameters, and URLs into safe percent-encoded format. Supports Component (encodeURIComponent) and Complete URL (encodeURI) modes with instant live preview.
Encode special characters, spaces, and reserved symbols into percent-encoded format (such as %20, %26, %3D). Choose between component-level parameter encoding and complete-URL preservation.
Follow these 6 simple steps to convert special characters, query strings, and complete links into safe percent-encoded URLs:
Type or paste raw query parameter text, form data, or a full web address into the left input textarea. You can also upload a .txt file.
Select Encode Component for individual parameter values (like name=John Doe) or Encode Complete URL to preserve https://, slashes, and question marks.
Choose between standard %20 (RFC 3986, universal) or plus + (application/x-www-form-urlencoded, standard for query strings).
Select RFC 3986 Strict to also escape characters like !, ', (, ), and *, or choose Standard JavaScript encoding.
Review the generated percent-encoded string in real time. The statistics grid displays exact character counts, percent tokens, and size expansion.
Click Copy Result to paste your encoded URL into your API client, HTML tags, or web application, or download as a .txt file.
According to RFC 3986, characters are categorized as reserved (which have structural meaning in URIs) or unreserved. Here is how special characters encode:
| Char | Character Name | Percent Code | RFC 3986 Category | Structural Purpose in URLs |
|---|---|---|---|---|
| (space) | Space | %20 or + |
Disallowed Character | Separates words in parameter values |
| & | Ampersand | %26 |
Sub-component Delimiter | Separates key-value pairs in query strings |
| = | Equals Sign | %3D |
Sub-component Delimiter | Assigns value to a query parameter key |
| ? | Question Mark | %3F |
Generic Delimiter | Introduces the query string component |
| # | Number Sign (Hash) | %23 |
Generic Delimiter | Introduces the anchor/fragment identifier |
| / | Forward Slash | %2F |
Generic Delimiter | Separates hierarchical path segments |
| : | Colon | %3A |
Generic Delimiter | Separates protocol scheme and port numbers |
| % | Percent Sign | %25 |
Escape Indicator | Prefix indicator for all percent-encoded bytes |
| + | Plus Sign | %2B |
Sub-component Delimiter | Interpreted as space in query strings; must be %2B for literal + |
| @ | At Sign | %40 |
Generic Delimiter | Separates user info from hostname |
| $ | Dollar Sign | %24 |
Sub-component Delimiter | Reserved parameter modifier |
| é | Accented e (Latin-1) | %C3%A9 |
Non-ASCII Unicode | Multilingual UTF-8 two-byte sequence |
Use this mode when encoding an individual value destined to be part of a query string or path segment. It aggressively encodes all characters that have special syntactic meaning in a URL, including &, =, ?, /, :, and #.
?search="value" where the value contains symbols.
Use this mode when you have an entire URL string that already contains protocol schemes, domain names, query delimiters, and paths. It leaves structural separators (http://, /, ?, &, =, #) intact while encoding only spaces and non-ASCII characters.
The PacesTools URL Encoder runs 100% inside your local web browser using native JavaScript. Your private URLs, internal enterprise links, query tokens, and personal parameters are never transmitted across the network, stored on external servers, or logged in any analytics.
All percent-encoding operations, regex character replacements, and text file downloads execute directly on your device's CPU. The tool is fully functional offline.
%20 or + form styleEverything you need to know about URL encoding, percent codes, and query strings:
%20).
%20. In query strings formatted as application/x-www-form-urlencoded (such as web form submissions and search engines), spaces are commonly represented as a plus sign +.
encodeURI() is intended for complete URLs. It leaves protocol and query structural characters intact (http://, /, ?, &, =, #). In contrast, encodeURIComponent() is intended for single parameter values, encoding all reserved characters (including &, =, and /) so that values do not break the overall query string structure.
encodeURIComponent() leaves characters like !, ', (, ), and * unencoded. However, RFC 3986 strict standards recommend encoding these characters into %21, %27, %28, %29, and %2A to prevent unintended interpretation in shell commands or strict REST APIs. Our tool enables RFC 3986 strict encoding by default.
é, ñ) as well as modern emojis (such as 🚀 or 😀) are correctly converted into their corresponding UTF-8 percent byte sequences (e.g. %F0%9F%9A%80 for 🚀).
https%3A%2F%2F) and parameter ampersands. If you need to clean up an entire pre-assembled link, use Complete URL Mode instead.
\n becomes %0A, and \r\n becomes %0D%0A. You can toggle line break encoding in the configuration drawer.
Streamline your URL handling, web publishing, and development workflow with other free utilities on PacesTools: