URL Tools

      About this tool

      The URL Tools convert special characters into link-safe percent-encoding, turn unreadable strings like %C3%BC back into text, and break addresses into their parts. They help web developers build parameters as well as casual users who want to know where a link really leads. A character map shows the bytes and %-encoding of every character. All processing happens in your browser; nothing is sent to a server.

      What you can use it for

      Frequently asked questions

      What does %20 mean in a URL?

      %20 is the percent-encoding of a space. The percent sign is followed by the byte value as two hex digits, and 20 in hexadecimal is the space character. Other characters follow the same pattern, such as %26 for &.

      How do I encode an & or a space in a URL parameter?

      Choose “Component” when encoding. Then separators such as & ? = / # are encoded too, so the value is treated as plain text inside the parameter. “Tom & Jerry” becomes Tom%20%26%20Jerry.

      What is the difference between component and full URL?

      “Component” is meant for a single value and encodes reserved characters as well. “Full URL” leaves separators such as : / ? # & = alone so the address keeps its structure. The technical equivalents are encodeURIComponent and encodeURI.

      Why does ä become %C3%A4?

      Percent-encoding works on bytes. In UTF-8, ä consists of two bytes, C3 and A4. In Latin-1 it would be the single byte E4, i.e. %E4.

      What does “double encoded” mean?

      If already encoded text is encoded again, the % itself becomes %25, so %20 turns into %2520. If a %-code remains in the result after decoding, another decoding pass helps.

      Is + decoded as a space?

      By default yes, because + means a space in form format. In paths, however, + is an ordinary plus sign. You can switch the “+ means space” option off.

      How can I tell where a link really goes?

      Parse the address and read the host. Everything before an @ is just user info, not the website. For umlauts or foreign characters in the host, the tool also shows the Punycode form.

      Is my input sent to a server?

      No, processing happens entirely in your browser. Still, URLs can contain tokens or passwords, so be careful about passing them on.

      Background

      A URL may directly contain only a limited set of characters. Some of them have a fixed job: the question mark starts the query, the ampersand separates parameters, the hash introduces the fragment, and the slash structures the path. To include such a character, a space or an umlaut as ordinary text, it is percent-encoded: the character is first converted to bytes, and each byte is written as a percent sign followed by two hex digits. A space becomes %20, an ampersand %26.

      UTF-8 is what is normally used today. There, ä consists of the two bytes C3 and A4 and becomes %C3%A4; an emoji takes four bytes. Older systems sometimes use Latin-1, where ä is a single byte (E4). If the character set does not match, decoding produces errors or replacement characters.

      Unreserved characters, which are never encoded, are letters, digits and - . _ ~ . JavaScript's component encoding additionally leaves ! * ' ( ) unchanged. The strict reading of RFC 3986 encodes these as well, which is often required for signature schemes such as OAuth or AWS.

      There are three methods. Component encoding is intended for single values such as parameters or path segments and also encodes / ? & = #. Full-URL encoding preserves the separators so the address stays functional. The form format (application/x-www-form-urlencoded) writes spaces as + and appears in many query strings. Accordingly, when decoding, + becomes a space only in a form context, while %20 is always unambiguous.

      A URL consists of a scheme, optionally a user name and password, a host, optionally a port, a path, a query and a fragment. The fragment is not sent to the server by the browser. Query parameters are a convention of name=value pairs separated by &, and the same name may appear several times. The part before an @ is user info, not the host; this notation is abused in phishing. Hosts with Unicode characters are transmitted as Punycode, and look-alike characters from other alphabets lend themselves to forgeries.

      Common mistakes are double-encoded text, where %25 precedes hex digits, and invalid %-sequences without two hex digits. The tool reports the position of the error and, depending on the case, offers to switch the character set or tolerate errors.

      Help & info

      Why percent-encoding?

      In a URL some characters have a job: ? starts the query, & separates parameters, # starts the fragment. To put such a character — or a space, an umlaut — in as plain text, it is written as % plus two hex digits: space → %20, & → %26.

      Component, full URL or form?

      Component for a single value you build into a URL (parameter value, path segment) — / ? & = must be encoded here too. Full URL for a finished address whose structure should survive. Form the way a browser submits an HTML form: space as +.

      Which characters stay?

      Unreserved (never encoded): letters, digits and - . _ ~ . JavaScript additionally leaves ! * ' ( ) in the component method; “Also encode ! ' ( ) *” is the strict reading of RFC 3986 and often needed for signatures (OAuth, AWS).

      Why %C3%A4 for ä?

      Percent-encoding works on bytes, not characters. Modern URLs use UTF-8: ä is two bytes (C3 A4), an emoji four. Older systems use Latin-1 — there ä is the single byte E4. The character map shows exactly this conversion.

      + or %20?

      In paths + is just a plus sign. Only in form format (and thus many query strings) + stands for a space. %20 is right everywhere. When decoding you can therefore turn “+ means space” off.

      Encoded twice?

      If already encoded text is encoded again, %20 becomes %2520 (the % itself becomes %25). If you see %25 before hex digits, decoding twice helps — the tool suggests it.

      Structure of a URL

      scheme://user:password@host:port/path?query#fragment. The fragment is never sent to the server. Query parameters are a convention (name=value, separated by &), not a rule. Everything before the @ is user info, not the host.

      Security & privacy

      Everything runs in your browser, nothing is sent. URLs can contain tokens and passwords — be careful about passing them on. The text you enter is never written to the address bar.

      Keyboard shortcuts

      Alt+R switches the function, Alt+K copies the result. A part in the breakdown can be clicked or copied with Enter.

      ⚠️ Bitte beachten

      Die Werkzeuge auf dieser Website werden als kostenloses Hobbyangebot bereitgestellt und dienen ausschließlich zur Information und privaten Nutzung. Für die Richtigkeit, Vollständigkeit oder Eignung der Ergebnisse für einen bestimmten Zweck wird keine Gewähr übernommen. Vor Verwendung der Ergebnisse — insbesondere bei finanziellen, rechtlichen oder sicherheitsrelevanten Entscheidungen — sind diese eigenverantwortlich zu prüfen. Eine Haftung für Schäden aus der Nutzung ist ausgeschlossen, soweit dies gesetzlich zulässig ist.