URL Encoder/Decoder

What is URL Encoder & Decoder?

This URL encoder percent-encodes text with encodeURIComponent. Paste text on the left, click Convert, and spaces, Chinese characters, and special characters like &, =, and ? become %XX sequences shown on the right. Copy the result or download it as a txt file; encoding errors display a clear message. Everything runs locally — your input never leaves the browser. Suitable for building URL query strings and debugging API requests.

Use Cases5 scenarios
  • Building query strings for GET requests
  • Handling URLs with Chinese text and special symbols
  • Debugging API calls
  • Creating email and share links
  • Learning percent-encoding rules
How to Use5 steps
  1. 1Paste the text to encode on the left
  2. 2Click Convert
  3. 3Read the %XX encoded result on the right
  4. 4Copy the result or download the txt file
  5. 5Check the error message if encoding fails
Features8 features
  • Free
  • No signup
  • Uses encodeURIComponent
  • Handles Chinese and special characters
  • One-click copy
  • Download as txt file
  • Clear error reporting
  • 100% local processing
FAQ8 questions
What is URL Encoder & Decoder?

An online URL encoder using encodeURIComponent to percent-encode special characters, with copy and file download.. Everything runs locally in your browser — no uploads.

What is a URL encoder?

An online percent-encoding tool. Input: plain text. Output: the same text encoded with encodeURIComponent as %XX sequences. Used for building URL parameters and handling special characters. All processing is local.

Is it the same as encodeURIComponent?

Yes — the tool calls JavaScript encodeURIComponent under the hood, so results match your browser console exactly.

Does it support Chinese characters?

Yes. Chinese characters become UTF-8 percent sequences, e.g., 中 becomes %E4%B8%AD.

Can I download the output?

Yes. The Download button saves the result as url-encoder-output.txt.

Why are & and = encoded too?

encodeURIComponent encodes all non-reserved characters including &, =, and ?, which is the safe way to place values into URL parameters.

Does it decode as well?

The current version encodes only; use another URL decoder on this site when you need to decode.

Is my input uploaded?

No. Encoding happens locally in your browser with no network requests.