More in this category

URL Encoder / Decoder

Percent-encode and decode URL components in your browser with encodeURIComponent. Detects malformed % sequences and handles Unicode safely.

All processing happens locally in your browser. Files are never uploaded.

Input

Introduction

URL Encoder / Decoder converts strings into percent-encoded URL components and back using the standard encodeURIComponent and decodeURIComponent functions. It is the right tool for query-string values and path segments, and it clearly reports malformed percent sequences such as a stray '%' or '%zz'.

Features

  • Standard encodeURIComponent encoding
  • Safe Unicode handling
  • Detects malformed % sequences
  • Swap direction with one click
  • Copy and download the result

How to use

  1. 1Type the text you want to encode, or paste a percent-encoded string to decode.
  2. 2Click Encode or Decode.
  3. 3Read any error about malformed percent sequences.
  4. 4Copy or download the output.

Frequently asked questions

Related tools