URL Component Encoder and Decoder
Encode or decode one URL component locally. This is not a full-URL or form-data encoder; plus signs remain literal when decoding. Input is limited to 100,000 UTF-16 code units.
Uses JavaScript encodeURIComponent and decodeURIComponent for one component, not a complete URL or form body. Spaces encode as %20; decoding keeps + literal. The characters ! ' ( ) * are not escaped. Malformed percent escapes and invalid UTF-8 are rejected. Maximum input: 100,000 UTF-16 code units; encoded output: 600,000 code units.