CleanTextLab
Bereinigen Sie unordentlichen Text in Sekunden. Schnelle Browser-Tools für Zeilenumbrüche, Akzente, Listen, Telefonnummern, SMS und mehr. Keine Konten und keine Uploads.
URL Kodieren/Dekodieren
Kodieren oder dekodieren Sie URLs und Abfragezeichenfolgen direkt in Ihrem Browser. Keine Uploads oder Speicherung.
Chain this with other tools →NewHow it works
URL encoding (percent-encoding) replaces unsafe ASCII characters with a '%' followed by two hexadecimal digits. For example, a space becomes '%20'. This tool uses encodeURIComponent() for encoding and decodeURIComponent() for decoding.
Common Use Cases
- Encoding query parameters with special characters for URLs
- Decoding URLs to see the original text values
- Preparing data for API requests with special characters
- Debugging URL-related issues in web applications
Frequently Asked Questions
What's the difference between encodeURI and encodeURIComponent?
encodeURI preserves URL structure characters (://?#), while encodeURIComponent encodes everything except alphanumerics and -_.~. This tool uses encodeURIComponent for complete encoding.
Why do spaces sometimes become '+' and sometimes '%20'?
application/x-www-form-urlencoded format uses '+' for spaces (common in HTML forms), while standard percent-encoding uses '%20'. This tool uses %20 (standard URL encoding).
Verwandte Werkzeuge
Verbessern Sie Ihren Workflow, indem Sie diese Tools kombinieren