Input
Text → encoded: Hello 👋
Expected result
Hello%20%F0%9F%91%8B
Make text safe for a URL.
Choose a direction and paste text. Uses encodeURIComponent and decodeURIComponent for URL components, not whole URLs.
Spaces become %20. Decoding leaves + unchanged. Invalid percent escapes or UTF-8 are rejected.
Input
Text → encoded: Hello 👋
Expected result
Hello%20%F0%9F%91%8B
Input
Encoded → text: Hello%20%F0%9F%91%8B
Expected result
Hello 👋
Encoding uses encodeURIComponent: enter one query value or path component. A space becomes %20, a plus sign becomes %2B, and a slash becomes %2F. Encoding a complete URL also encodes its separators, so use the tool on individual components when you need to keep the URL structure.
Decoding uses decodeURIComponent. Hello%20world becomes Hello world, but a raw + stays +; this is not form decoding where + means a space. Malformed percent escapes and invalid UTF-8 sequences are rejected. Inputs and results are processed in the browser.