Skip to content
Zotonic
  • Start
  • Cookbook
  • Reference
  • Releases

Live search

Search across all Zotonic content

Type at least two characters

Results are matched against titles, summaries and topics as you type.

Filters · mod_base
  • Reference
  • Frontend developer
  • Template filter
  • Parse
  • URL

urldecode

Module

mod_base

Decode a text where characters are encoded as URL-safe characters.

Translates all percent encoded characters back to their original encoding.

For example:

{{ value|urldecode }}

When value is “msg%3DHello%26World” then the output is “msg=Hello&World”.

Edit on GitHub

Related documentation

Filters

parse_url

Parses an URL (URI) using uri_string:parse/1 .

Filters

get_admin_url

Return the absolute administration URL for a Zotonic site.

Filters

from_json

Parse a string as a JSON (JavaScript Object Notation) value. The returned value can be processed futher.

Filters

urlencode

Make a text safe for URLs.

Filters

sanitize_url

Sanitize an URL. Removes URLs that might be dangerous, like javascript: URLs.

Filters

url_abs

Generates an absolute URL for the given dispatch information.

Filters

survey_prepare_narrative

Parse a survey narrative question into renderable text and input parts.

Filters

is_site_url

Test if the given URL is a url for the current site.

Filters

mailinglist_recipient_key_decode

Used on the mailing list subscriptions page where users and recipients can unsubscribe from mailinglists.

GitHub © 2026 Zotonic