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
  • Render
  • URL
  • HTML

urlize

Module

mod_base

Find urls in the given input and make them clickable.

Example:

{{ "http://foo.bar/"|urlize }}

Outputs:

<a href="http://foo.bar/">http://foo.bar/</a>

This filter is very similar to the filter#escape_link filter.

Edit on GitHub

Related documentation

Filters

render

Render a template.

Filters

linebreaksbr

Translate ASCII newlines ( \n ) into HTML <br /> elements.

Filters

toc

Filter to derive a Table Of Contents from a HTML body.

Filters

show_media

Convert the image markers in HTML from the Rich Text editor into image tags.

Filters

get_admin_url

Return the absolute administration URL for a Zotonic site.

Filters

merge_tags

A mail-merge like filter where tag-expressions in a text are replaced with the value of their evaluation.

Filters

format_dispatch_path_element

Format dispatch path element so variables will be more visible.

Filters

format_dispatch_controller_option

Format dispatch controller options.

Filters

urlencode

Make a text safe for URLs.

GitHub © 2026 Zotonic