|intcomma Filter

adds thousand separators to a number.

Number Most Useful As Markdown

Argument
use_l10n (optional) – whether to respect the active locale. Defaults to True.
Requires
{% load humanize %} and "django.contrib.humanize" in INSTALLED_APPS

Documentation

Converts an integer or float to a string with a separator every three digits, so a number a reader has to count digits in becomes one they can read at a glance.

Template

{% load humanize %}
<p>{{ downloads|intcomma }} downloads</p>

Result

<p>4,500,000 downloads</p>

The separator follows the active locale unless you pass False, so a German page gets 4.500.000 without any extra work.

More Number Filters

All Number Filters


Did we get something wrong? Is there a use case for the intcomma filter that we should add? Please let us know.

Send Feedback

Official Documentation
This page last updated on August 20, 2026