Escape & Encode
URL Encode
Paste text to percent-encode it for a URL. Spaces, reserved characters and emoji are encoded as you type.
Escape & Encode
Paste text to percent-encode it for a URL. Spaces, reserved characters and emoji are encoded as you type.
URL Encode percent-encodes text so it can be placed in a URL. With the default settings the output matches encodeURIComponent: a space becomes %20, reserved characters are encoded, and emoji are written as UTF-8 bytes.
Keep URL structure switches to encodeURI, leaving the delimiters of a full URL in place (: / ? # @ ! $ & ' ( ) * + , ; =) so an address stays readable. Square brackets are still encoded, because encodeURI encodes them. Form encoding then writes each space as +, matching an application/x-www-form-urlencoded body.
Encoding runs in your browser and the text you paste is not uploaded. Swap sends the result to URL Decode so you can check the round trip in one click.
It rewrites characters that are not allowed raw in a URL as percent-encoded UTF-8 bytes. A space becomes %20 and an emoji becomes the byte sequence it occupies. With the default settings the output matches encodeURIComponent.
When the input is a whole URL and you want the scheme, slashes, query marker and hash to stay readable. The option uses encodeURI. Square brackets are still encoded. Use the default when the text is a single query value.
It writes a space as + instead of %20, and on decode it reads + as a space, matching an application/x-www-form-urlencoded body. A literal plus stays %2B unless Keep URL structure is also on. With both on, a plus is left as-is and decode reads it as a space.
No. The deprecated escape function is not used. Encoding calls encodeURIComponent, or encodeURI when Keep URL structure is on.
No. Encoding runs in your browser and the text you paste is never uploaded, logged or stored. Google Analytics records page views and feature use, never content.
Decode percent-encoded URL text as you type, including form plus signs, UTF-8 sequences and emoji. Runs in your browser; your text is never uploaded.
Turn text into a valid JSON string literal, or decode one back to plain text.
Encode text as Base64, or decode Base64 back to text.
Escape text for HTML, or decode entities back to characters.
Escape text as a JavaScript string literal, or decode those escapes.
Iternal · AI Blueprint Builder
The AI Blueprint Builder scores each use case across value, feasibility, cost, governance, risk, adoption and readiness before you commit budget. Free to start, about 60 minutes.
Open the AI Blueprint Builder (opens in a new tab)↑↓ to move · ↵ to open · esc to close
aiformatting.app cleans up the text. The AI Blueprint Builder ranks the AI initiatives your team is weighing, scoring each use case across value, feasibility, cost, governance, risk, adoption and readiness before you commit budget.
Free to start · about 60 minutes · iternal.ai
Every tool here stays free, with no account to create. Leave a work email and the team behind aiformatting.app will send the occasional note on practical AI tooling.