Skip to main content
Softlimes Home
Softlimes
URL Encoder and Decoder Tool Icon

URL Encoder and Decoder

Encode a full URL or a single query value in your browser. To read an encoded string, choose Decode. For example, hello%20world becomes hello world.

Runs in your browser

This tool processes your input on your device.

Developer tools

Free to use

Loading tool…

Processed in your browserTry another tool
Instructions

How to use it

Follow these steps in the workspace above.

  1. Select Encode or Decode mode at the top of the workspace.
  2. Paste your raw query parameter, redirect URL, or percent-encoded string.
  3. Copy the result. Choose Query Component when the text is one value inside a URL.
Guide

How it works

Uniform Resource Identifiers (URIs, defined in RFC 3986) only permit a strict subset of unreserved ASCII characters (A-Z, a-z, 0-9, -, _, ., ~). Reserved delimiters like ?, &, =, #, /, and spaces must be percent-encoded into hexadecimal byte triplets (such as %20 for a space or %26 for an ampersand) whenever they appear inside a query parameter value, otherwise browsers and API gateways will misinterpret where one query parameter ends and the next begins.

encodeURIComponent vs. encodeURI Explained

  • Encoding Query Parameter Values (encodeURIComponent): Encodes :, /, ?, &, and = so you can safely pass a full callback URL inside a query parameter.
  • Debugging Analytics & UTM Links: Cleanly inspect encoded marketing URLs, or build properly escaped campaign URLs from scratch using our UTM Campaign Link Builder.
FAQ

Frequently asked questions

Read the answers before running the tool.