URL кодировщик и декодер онлайн — percent-encoding бесплатно
Бесплатный URL-кодировщик и декодер. Преобразование спецсимволов в %XX для строк запроса и обратно.
Вставьте URL или параметр. Кодировать экранирует спецсимволы (пробел → %20 и т.д.); Декодировать возвращает.
Распространённые сценарии
- 1Safely embed search queries, dates and special characters in GET URLs.
- 2Debug malformed link previews where percent-encoding got double-applied.
- 3Clean campaign URLs that broke after a CMS auto-encoded an already-encoded URL.
Часто задаваемые вопросы
What's the difference between encodeURI and encodeURIComponent?+
This tool uses encodeURIComponent — it escapes every special character. encodeURI is more conservative (leaves slashes, &, =, etc.) and is meant for whole URLs, not for query parameter values.
Why didn't a + sign get decoded to space?+
Strict percent-encoding uses %20 for space, not +. The + → space mapping is application/x-www-form-urlencoded, an older form-encoding scheme used by HTML forms.
Is it safe to put credentials in a URL after encoding?+
No. Encoded or not, URL parameters appear in server logs, browser history and referrer headers. Use POST bodies or Authorization headers for credentials.