YOUR TEXT, IN FOCUS

URL encode / decode.

Encode text as a URL component or decode percent-encoded text.

Free · No account
Text stays in this tab
0 LinesUTF-8 · TXT

Text is kept in memory only. Refreshing or closing this tab clears it. We do not upload your text or store it in your browser.
01 — How to use it

Make text ready for a URL.

  1. Paste plain text or encoded text.
  2. Choose encode or decode.
  3. Apply and copy the result.
02 — A few useful details

Uses encodeURIComponent/decodeURIComponent for a single component, not an entire URL. A plus sign is not decoded as a space. Malformed percent sequences are rejected.

Use UTF-8 plain text, up to 1 MB and 20,000 lines per input.

Input and output example

Example settings: Encode

Input
Hello 世界
Output
Hello%20%E4%B8%96%E7%95%8C

Common questions

Should I encode a whole URL?

This tool encodes URL components such as a query parameter value. Colons and slashes are encoded too. To keep the structure of a URL intact, paste only the component you want to encode.

Which files can I import?

Paste plain text or import UTF-8 .txt files, up to 1 MB and 20,000 lines per input. PDF, Word documents and images are not supported directly; extract the plain text first. Text stays in the current tab's memory.