About This Tool

What is URL Encoder / Decoder?

A tool for encoding and decoding URL strings. URL encoding is essential when web addresses contain special characters, spaces, or non-ASCII characters like CJK text. It ensures safe transmission of query parameters in web requests.

How to Use

  1. Enter the string you want to encode or decode in the input area.
  2. Click 'Encode' to convert special characters to percent-encoding (%XX).
  3. Click 'Decode' to restore encoded strings to their original characters.
  4. Copy the result for use in your project.

Key Features

  • Standard URL encoding based on encodeURIComponent
  • Full support for non-ASCII characters including CJK
  • Bidirectional encode/decode conversion
  • Real-time result display

Tips

  • Special characters like &, =, ?, and # must be encoded in URLs to work as intended.
  • Spaces are converted to %20 or + during URL encoding.
  • Always encode user input in query parameters when making API calls.

URL Encoder / Decoder

URL-Zeichenketten kodieren oder dekodieren


Frequently Asked Questions

Was ist der Unterschied zwischen encodeURI() und encodeURIComponent()?

encodeURI() kodiert eine URI, bewahrt aber :, /, ? und #. encodeURIComponent() kodiert alles und eignet sich für Query-Parameter-Werte.

Warum Leerzeichen als %20 oder +?

%20 ist Standard in URLs. + nur bei application/x-www-form-urlencoded. %20 ist universell korrekter.

Nicht-englische Zeichen kodieren?

Ja. Nicht-ASCII muss URL-kodiert werden. Browser zeigen dekodierte Zeichen, aber HTTP nutzt kodierte Form.


Related Tools