How to Use
- 1.
Paste a full URL, query string, query value, or encoded text into the input box.
- 2.
Choose Full URL mode for complete links or Component mode for single query values.
- 3.
Click Encode to convert unsafe characters into percent-encoded values.
- 4.
Click Decode to convert encoded values back into readable text.
- 5.
Use output as input if you want to reverse or continue the workflow.
- 6.
Copy the final result and test important links before publishing.
Features
Encode full URLs online
Decode percent-encoded URLs
URL component encoding for query values
Full URL mode that keeps normal link structure readable
Handles spaces, symbols, query strings, and tracking values
Decode plus signs as spaces for common form-style values
Copy result to clipboard
Example link for quick testing
Input and output character counts
Private browser-based conversion
Frequently Asked Questions
What is URL encoding?+
URL encoding converts characters that may break a URL into percent-encoded values. For example, a space may become %20 and an ampersand may become %26.
When should I use full URL mode?+
Use full URL mode when you are encoding or decoding a complete link and want to keep the URL structure, such as https://, slashes, question marks, and ampersands, readable.
When should I use URL component mode?+
Use component mode for a single value that will be placed inside a query parameter, such as a search term, redirect URL, campaign name, or form value.
Is URL encoding the same as encryption?+
No. Encoding only makes text safe for URLs. It does not protect private data because encoded text can be decoded easily.
Why do spaces become %20?+
Spaces are not safe in many URL contexts, so they are commonly represented as %20. Some form-style URLs may also use plus signs for spaces.
Can this tool decode broken encoded text?+
It can decode valid percent-encoded text. If a string contains incomplete percent values, the tool will show an error so you can fix the input.
Does this tool upload my URLs?+
No. Encoding and decoding run locally in your browser, so your pasted URL or text is not uploaded for conversion.
About this tool
Free URL Encoder / Decoder
Use the free WebToolsEdge URL Encoder / Decoder to convert URLs, query strings, campaign links, redirect targets, and text values into a web-safe format. Paste a full URL or a single query value, choose the encoding mode, then encode or decode the result instantly in your browser. URLs often contain characters that need special handling. Spaces, ampersands, question marks, equal signs, accented letters, symbols, and other reserved characters can break links when they are placed inside query strings, forms, redirects, API requests, emails, or tracking URLs. URL encoding replaces those characters with percent-encoded values such as %20 for a space or %26 for an ampersand. This URL encoder decoder online tool supports two practical modes. Full URL mode is useful when you already have a complete link and want to keep normal URL structure readable, including the protocol, slashes, question mark, and ampersands. Component mode is useful when you need to encode a single value that will be placed inside a query parameter, such as a search term, redirect URL, campaign name, form value, or dynamic text string. For example, a campaign name like "summer sale 2026" should usually be encoded before it is placed in a URL parameter. A redirect value that contains its own question mark and ampersand should also be encoded as a component so it does not accidentally merge with the outer URL. This is common in UTM links, login redirects, checkout return URLs, share links, API calls, and form submissions. The decoder works in the opposite direction. Paste encoded text such as hello%20world or a URL containing encoded query values, then decode it to see the readable version. Decoding is helpful when reviewing analytics links, debugging tracking URLs, checking copied links from emails, inspecting API parameters, or understanding why a URL is not behaving as expected. Use this tool alongside the UTM Builder when preparing campaign links, the URL Extractor when collecting links from copied text or HTML, the URL Redirect Checker when testing final destinations, and the QR Code Generator when turning a clean link into a scannable code. Encoding should happen before sharing a link publicly, not after users have already clicked a broken version. URL encoding is not encryption. It does not hide private data, passwords, tokens, or sensitive information. Anyone can decode an encoded URL. Use encoding to make links valid and readable for web systems, not to protect secrets. Avoid putting private values inside URLs because URLs may appear in browser history, analytics reports, server logs, referrer data, and screenshots. All encoding and decoding runs locally in your browser. The text you paste is not uploaded to WebToolsEdge for conversion. After generating the result, copy it into your CMS, email platform, analytics campaign, API request, redirect setting, or documentation workflow.
Building campaign links? Create clean tracking URLs with the UTM Builder, then encode query values when needed. If you collected links from copied text or HTML, clean the list with the URL Extractor. Before sharing a final URL, verify redirects with the URL Redirect Checker.