Paste one component value
Do not paste a complete URL unless every delimiter is intentionally data inside one component.
Private URL component encoder and decoder
URLCodec handles one value, not an entire URL. Select RFC 3986 or form behavior before transforming; malformed escapes and invalid UTF-8 fail explicitly, while valid noncanonical input gets one reproducible canonical spelling.
RFC 3986 + form · strict UTF-8 · local only
Three explicit steps
Do not paste a complete URL unless every delimiter is intentionally data inside one component.
RFC 3986 writes spaces as %20; form encoding writes spaces as + and protects a literal plus as %2B.
The result, byte rows, canonical spelling and opposite operation come from the same local domain service.
Ordinary web-data tasks
One component · no upload
Choose RFC 3986 or HTML form rules, transform locally, and inspect the UTF-8 bytes plus canonical round trip.