How to Encode and Decode Web Addresses
Developer · Step-by-step guide · 4 steps · 2 min read
Some symbols, like spaces, can break a web address. This tool makes text safe for a link. For example, a space becomes %20. It can also turn such links back into plain text.
Open the URL Encoder / Decoder
In the pictures, orange letters like A show where to look. Each step tells you its letter.
Step 1: Paste your text or link
Paste it into the Input box. See A in the picture.
Step 2: Choose Component or Full URL
Pick URL Component for one value, like a search word. Pick Full URL for a whole address. Full URL keeps / and ? as they are. See B in the picture.
Step 3: Press Encode or Decode
Encode makes it safe for a link. Decode makes it easy to read. Parse URL splits a link into its parts. See C in the picture.

Step 4: Copy the result
The result shows under the buttons. Copy it from there. See D in the picture.

Tips and questions
Why do links need this?
Symbols like spaces, &, ? and # have special jobs in a web address. Encoding them stops the link from breaking.
What is the difference between Component and Full URL?
Component changes every symbol, even / and ?. Full URL leaves those alone, so the link still works.
Can it build the part after the question mark?
Yes. Use the Query String Builder to add names and values. Use the Query String Parser to split one apart.
Privacy
Your data is handled in your browser. It is never sent to us. So it is safe to paste private or work data.
Try it now
The URL Encoder / Decoder is free. You do not need an account.
Open the URL Encoder / Decoder