Skip to main content
ConduitTools by ConduitCode Labs

Developer

URL Encoder / Decoder

Waiting for text
InputPaste a URL, a query value, or encoded text
ResultUpdates as you type
.txt
Nothing to convert yet

Paste a URL or some text and choose Encode, or paste something with %20-style codes and choose Decode.

0 BInput size
—Output size

Percent-encode text so it is safe in a web address, or decode %20-style codes back into readable text. Paste a full URL to see it split into its parts.

  • Free
  • No sign-up
  • Runs in your browser

How to use this tool

  1. Paste a URL, a query value or percent-encoded text, drop or Import a text file, or press Sample.

  2. Choose Encode or Decode. When encoding, set Encode as: A value encodes everything, including : / ? & =, for use inside a query; A whole URL keeps those characters so the address still works. For form data, turn on Treat + as a space: a value's spaces are written as + when encoding, and + is read as a space when decoding.

  3. For an address, the parts (protocol, host, path and each query parameter) are listed in a table. Copy result, Download it, or use Use as input to convert it again.

How to use this tool
  1. Paste a URL, a query value or percent-encoded text, drop or Import a text file, or press Sample.

  2. Choose Encode or Decode. When encoding, set Encode as: A value encodes everything, including : / ? & =, for use inside a query; A whole URL keeps those characters so the address still works. For form data, turn on Treat + as a space: a value's spaces are written as + when encoding, and + is read as a space when decoding.

  3. For an address, the parts (protocol, host, path and each query parameter) are listed in a table. Copy result, Download it, or use Use as input to convert it again.

Was this tool helpful?

Suggest an improvement

Help keep ConduitTools free

Every tool here is free, private and built by a solo developer. If this one saved you time, a small tip keeps the site running and new tools coming.

What it handles

Encode a value or a whole URL, and read its parts.

Web addresses can only contain a limited set of characters. Percent-encoding swaps everything else for a % and two hex digits, and this tool does that in either direction.

Value or whole URL
Encode a single value so that & and = inside it cannot break your query string, or encode a whole URL while leaving its structure (: / ? & =) untouched.
URL breakdown
Paste a full address and see the protocol, host, port, path, each query parameter (already decoded), and the fragment on separate lines.
Clear errors
A stray % that is not followed by two hex digits is explained in plain English instead of failing silently.

Frequently asked questions

What is the difference between encoding a value and a whole URL?

Encoding a value escapes every reserved character, including : / ? & = and #, which is what you want for one query parameter. Encoding a whole URL leaves those characters alone so the address still works.

Why do spaces become %20 or +?

In a path, a space is written as %20. In HTML form data, a space can also be written as +. Turn on Treat + as a space when decoding form-style query strings.

Is percent-encoding a form of encryption?

No. It only makes text safe to put in a URL. Anyone can decode it, so it does not hide anything.

Why does decoding say my text is not valid?

A % must be followed by exactly two hexadecimal digits, like %2F. Text such as 100% sure has a stray % and cannot be decoded as it stands.

Keyboard shortcuts

Press navigation keys one after the other. Single-key shortcuts work outside text fields.

Ctrl+K
Search all tools
/
Focus directory search, or search all tools on other pages
GthenH
Go to the homepage
GthenT
Browse all tools
GthenF
Open FAQs
Ctrl+Enter
Copy or download the result
Ctrl+Shift+Enter
Generate a new password or new text
?
Show this list
Esc
Close a dialog or menu
↑↓
Move through tool search results
Enter
Open the selected search result