---
title: '|lower'
description: converts a string to lowercase.
date: '2026-08-02'
categories:
  - Filter
  - Formatting
canonical: https://www.djangotemplatetagsandfilters.com/filters/lower/
doc_link: https://docs.djangoproject.com/en/6.0/ref/templates/builtins/#lower
---

# |lower

converts a string to lowercase.

## Documentation

Converts an entire string to lowercase.

### Variable

```django
greeting = 'HELLO, WORLD!'
```

### Template

```django
{{ greeting|lower }}
```

### Result

```django
hello, world!
```

## Commentary

For web pages, formatting tags like this are not too useful. We prefer using CSS's `text-transform: lowercase` property. However, there is an advantage to using Django: because the formatting is applied server-side, the value returned to the client will already be formatted appropriately. If the client does not support CSS or has CSS turned off, that will not affect the formatting.

And, of course, if you are using Django to output plain text or some other non-HTML format, formatting filters could come in handy.
