urls.PathUnescape
Returns the given string, replacing all percent-encoded sequences with the corresponding unescaped characters.
Syntax
urls.PathUnescape INPUT
Returns
string
The urls.PathUnescape function does the inverse transformation of urls.PathEscape.
{{ urls.PathUnescape "A%2Fb%2Fc%3Fd=%C3%A9&f=g+h" }} → A/b/c?d=é&f=g+hUse this function to decode an individual segment within a URL path.
Last updated:
March 8, 2026
:
content: Improve urls.PathEscape/PathUnescape examples (32ec89596)
Improve this page