URL Encoder and Decoder
Paste text or a link and encode it so it is safe to put in a web address, or decode it to read what the percent signs mean. When the input is a link, the tool also splits it into protocol, host, path and each query parameter, with the decoded value next to the encoded one, and can add or remove a parameter and give you the rebuilt address. Everything happens in your browser.
What you enter
- Text or link
- Mode
- Treat + as a space when decoding
- Add or replace parameter (name)
- Parameter value
- Remove parameter (name)
What you get
- Query parameters found
- Rebuilt address
How it works
- Paste your text or link in the first box and choose a mode: encode a single value, encode a whole address, or decode.
- Read the converted text and copy it. If the input looks like a link, the table lists its parts, with each query parameter shown as written and decoded.
- To edit the link, type a parameter name and value in 'Add or replace parameter', or a name in 'Remove parameter'.
- Copy the rebuilt address from the results.
Why addresses need encoding
A web address is made of parts separated by special characters: a slash divides the path, a question mark starts the query, an ampersand separates parameters and an equals sign joins a name to a value. If your data contains one of those characters, the browser or server cannot tell data from structure. Percent-encoding fixes that by writing the character as a code that has no special meaning.
That is why a search for 'cats & dogs' must be sent as cats%20%26%20dogs. Without the encoding, the ampersand would start a new parameter and the server would see a search for 'cats' plus a parameter named ' dogs'. Most frameworks encode for you, but when you build links by hand, in a spreadsheet, an email template or a redirect rule, you have to do it yourself.
Reading and repairing links
When a link looks like a wall of percent codes, decoding it shows what it really says, and the parts table shows which parameter holds which value. This is the quickest way to find a return address inside a login link, a campaign tag inside a long tracking address, or a stray parameter that breaks a page.
Editing is just as common. You may need to remove a tracking parameter before sharing a link, or add one to test a page. Changing the link through the structured parts keeps the encoding correct, which is safer than editing the text by hand and getting a percent code wrong.
Tips
- Use 'Encode a value' for anything you put inside a query parameter, such as a search term or a return address. It encodes the characters & = ? / and # that would otherwise break the link.
- Use 'Encode a whole address' only when you have a full link with spaces or accented letters in it and want to keep its structure.
- Encode once. If text is encoded twice, a space becomes %2520, and the receiving page shows %20 instead of a space. The tool warns you when the input already contains percent codes.
- A plus sign means a space only in form data and query strings. In a path, a plus is a plus, so untick the option when you decode a path.
Frequently asked questions
What is URL encoding?
Web addresses may contain only a limited set of characters. Anything else, such as a space, an accented letter or an ampersand used as data, is replaced by a percent sign and two hexadecimal digits that give the byte. A space becomes %20, and the letter é becomes %C3%A9 because it takes two bytes in UTF-8.
What is the difference between the two encode modes?
Encoding a value escapes every character that has a special meaning in an address, including / ? & = # and :, so the result is safe inside a parameter. Encoding a whole address leaves those characters alone and escapes only spaces and non-ASCII characters, so a full link keeps working.
Why does decoding report an error?
A percent sign must be followed by two hexadecimal digits, and the bytes must form valid UTF-8 text. Input such as %E0%A4%A is cut off, so it cannot be decoded. Check that the text was not truncated when it was copied.
Why does a plus sign turn into a space?
In query strings, which are the part after the question mark, a plus sign stands for a space, an old rule from HTML forms. If you decode a path or a value that really contains a plus, untick the option and it will be kept.
Is my text sent anywhere?
No. Encoding, decoding and splitting the link all run in your browser, and nothing is uploaded.
Related: Base64 encoder and decoder, JSON formatter and validator, Redirect checker.
Start a 7-day free trial or see all free tools. On We.Inc you get a 7-day free trial, not a free plan: card needed, $0 today, cancel before it ends and you pay nothing. AI building is on paid plans from $20 a month.
More in Free Tools
- URL Parser and Query String Editor
- URL Slug Generator
- Usability Test Script Generator
- USP Generator and Unique Selling Proposition Examples
- UTM Link Builder
- UUID Generator
- Website UX Audit Checklist
- vCard Generator
Product
Who It's For
- For Agencies
- For Freelancers
- For Hosting Providers
- For SaaS Platforms
- For Startups
- For Financial Services
- For Healthcare
Features
Resources
- Blog
- Help Center
- Free Business Tools
- Free UI Components
- Website Templates
- Template Collections
- Website Examples
- Guides
- Comparisons
- Alternatives
- Best Lists
- Reviews
- Pricing Guides
- Use Cases
- Glossary & Guides
- Integrations
- Developers
- Benchmark
- Windows App