Skip to content

urlDecode

urlDecode(string) → string · URL

Decode a URL-encoded string (percent-encoding per RFC 3986).

  • string (required): the string to decode
utlx
urlDecode("hello%20world")               // "hello world"

Also: urlDecodeComponent(string).

Released under AGPL-3.0.