Add your text
Type or paste plain text or a percent-encoded string into the input.
Developer Tools
Encode and decode URI components entirely in your browser.
Encode text into a URI-safe component or decode a percent-encoded string, entirely in your browser. This encodes and decodes URI components — the same behavior as JavaScript's encodeURIComponent — not a full-URL parser. Need to compare two versions of text instead? Try Text Diff.
encodeURIComponent / decodeURIComponent), not a full-URL encoder. Delimiter characters like : / ? & = are encoded too, so this is meant for encoding a single value (like a query parameter), not an entire URL.How it works
Type or paste plain text or a percent-encoded string into the input.
Click Encode to percent-encode it, or Decode to reveal the original text.
Copy the output, or click Swap to run the result back through the tool.
Use cases
Encode a value like a search term or redirect URL before adding it to a query string.
Decode a URL from logs or a browser address bar to read it in plain text.
Decode a shared link to verify its parameters before clicking or sharing it further.
FAQ
No. Encoding and decoding happen entirely in your browser.
It encodes URI components, matching encodeURIComponent(). Delimiter characters like : / ? & = are encoded too, so it's meant for encoding a single value such as a query parameter, not an entire URL.
You'll see a clear error message instead of a crash. Fix the encoded text and click Decode again.
Yes. Unicode text, emoji, and non-Latin scripts are encoded and decoded correctly.
Related Tools