URL Encoder / Decoder

encodeURI / encodeURIComponent / querystring (+) supported

100% In-BrowserNo Server UploadFree, No Signup
Encoding / Decoding
Thinking about your next role?Aile - AI Job Search

Chat with AI to find full-time jobs that match your skills. No sign-up required to start searching.

Browse Jobs

How to Use

URL Encoder / Decoder - encodeURI / encodeURIComponent / querystring (+) supported
encodeURI / encodeURIComponent / querystring (+) supported
  1. Enter text or URL

    Type or paste the text or URL you want to encode into the input area.

  2. Encode / Decode

    Choose scope (component/full URL/querystring) and encode/decode from the toolbar, then click "Convert".

  3. Copy result

    Use the "Copy" button to copy the result to your clipboard.

URL Encoder / Decoder Examples

Encode a component (encodeURIComponent)

Input
hello world
Output
hello%20world

Use this for encoding query parameter values.

Encode a querystring (+ as space)

Input
q=hello world&lang=en
Output
q=hello+world&lang=en

Querystring mode uses + for spaces (x-www-form-urlencoded).

Features

  • Component / full URL / querystring (+ as space) support
  • Full Unicode and multibyte character support
  • Optional line-by-line conversion
  • File load and download
  • Local processing (your input is not sent to servers)
  • Mobile-friendly responsive design
  • Lightweight responsive UI

FAQ

What is URL encoding?

URL encoding (percent-encoding) represents characters that cannot be used in a URL using a percent sign followed by two hexadecimal digits. For example, a space becomes %20 and the Japanese character "あ" becomes %E3%81%82.

What is the difference between encodeURI and encodeURIComponent?

encodeURI encodes a full URL but preserves reserved characters like :/?#[]@!$&'()*+,;=. encodeURIComponent also encodes these reserved characters, making it ideal for encoding query parameter values. This tool uses encodeURIComponent.

Is my data sent to a server?

No. All encoding and decoding happens locally in your browser via JavaScript. No data is ever transmitted externally.