Examples
-
Text to encode
https://uuidstudio.com/search?q=hello world&tag=dev -
Percent-encoded to decode
hello%20world%2Fapi%3Fid%3D1%262
About URL Encoder & Decoder
Spaces, ampersands, slashes, and non-ASCII characters all break a URL if they're pasted in raw - a query string with an unencoded space or `&` silently truncates or misparses on the receiving end.
Percent-encode text to make it safe inside a URL (query parameter, path segment, redirect URI), or decode a percent-encoded string back to readable text. Uses the same encodeURIComponent/decodeURIComponent behavior your JavaScript runtime already has, so results match what your code will actually produce.
FAQ
- Does this encode the whole URL or just a component?
- It encodes/decodes a single component (like a query value), matching encodeURIComponent - characters such as :/?# that are meaningful in a full URL are also escaped, so don't run a complete URL through it expecting the scheme and slashes to survive.
- Is this the same as Base64?
- No. Base64 re-encodes bytes into a fixed alphabet; URL/percent-encoding only escapes characters that aren't safe inside a URL, leaving the rest of the text readable.