InTab

URL Encoder

Percent-encode and decode URLs; parse URL parts and query parameters.

Encoders: Escape, encode and decode text. It runs in your browser, so nothing you enter is uploaded.

What it does

The URL Encoder percent-encodes text so that it is safe in a web address, and decodes encoded URLs back to readable text. The URL Parser breaks a full address into its parts (protocol, host, path, query parameters and fragment) so you can read long tracking links or debug an API call.

How to use it

  1. Choose the Mode:
    • Component (encodeURIComponent) for a single query value or path segment.
    • Full URL (encodeURI) for a whole address, keeping :, /, ? and &.
    • Form (+ for spaces) for HTML form data.
  2. Type into Decoded to encode, or paste into Encoded to decode.
  3. To inspect a link, paste it into URL to parse.

Example

Mode Input Encoded
Component price=10€ & tax price%3D10%E2%82%AC%20%26%20tax
Full URL https://example.com/search?q=café au lait https://example.com/search?q=caf%C3%A9%20au%20lait

Good to know

  • Use Component for values you insert into a URL. Encoding a full URL with it also encodes / and ?, which breaks the address.
  • Non-ASCII characters are encoded as UTF-8 bytes, so é becomes %C3%A9.
  • In form encoding a space is +; in a URL path it must be %20.

FAQ

Why is my URL encoded twice (%2520)? Something encoded text that was already encoded: % became %25. Decode once here and check where the second encoding happens.

Can I see all the query parameters of a link? Yes. The URL Parser lists each parameter with its decoded value.

Guides

More Encoders tools

  • Unicode Escape: Encode and decode JSON or XML text to Unicode escapes (\uXXXX, &#x…;).
  • Base64: Encode and decode Base64 text and files (URL-safe supported).
  • Image to Base64: Turn an image into a Base64 data URL, raw Base64, CSS, HTML or Markdown.
  • Base64 to Image: Paste Base64 or a data URL to see the image and download it.
  • HTML Entities: Escape and unescape HTML entities.
  • JWT Encoder / Decoder: Decode, verify and sign JSON Web Tokens: HS, RS, PS, ES and EdDSA, with key generation.