---
title: '|iriencode'
description: converts an IRI to a string that can be used in a URL.
date: '2026-08-02'
categories:
  - Filter
  - URL
canonical: https://www.djangotemplatetagsandfilters.com/filters/iriencode/
doc_link: https://docs.djangoproject.com/en/6.0/ref/templates/builtins/#iriencode
---

# |iriencode

converts an IRI to a string that can be used in a URL.

## Documentation

Converts an IRI ([Internationalized Resource Identifier](https://en.wikipedia.org/wiki/Internationalized_Resource_Identifier)) to a string that can be used in a URL.

## Commentary

We really don’t know enough about this to comment.
