Percent-encode or decode text for use in URLs, query strings, and form data. Updates live.
URLs can only contain a limited set of characters. Anything else — spaces, accented letters, emoji, special punctuation — has to be percent-encoded (e.g. %20 for space). This tool runs the standard encodeURIComponent / decodeURIComponent pair in your browser, so it works for query string values, form fields, and path segments. Use the Swap button to round-trip and verify your encoding is reversible.