Skip to content

urlDecodeComponent

urlDecodeComponent(string) → string · URL

URL-decode a component string (RFC 3986) — decodes %20 as spaces.

  • string (required): the encoded string
utlx
urlDecodeComponent("hello%20world")      // "hello world"

Released under AGPL-3.0.