# filesizeformat

Source: https://zotonic.com/docs/1952/filesizeformat

URI: https://zotonic.com/id/1952

Language: en



This filter formats a numeric value as KB, MB etc. This filter can be used to display a number of bytes in a human readable format of kilo- or megabytes.

For example:

```django
{{ 532671|filesizeformat }}
```

Will output `520.2 KB`.

License: 

Attribution: 

Related resources: https://zotonic.com/api/agent/related/1952?language=en


## API access

- [API help](<https://zotonic.com/api-help>)
- [OpenAPI specification](<https://zotonic.com/openapi.json>)
- [This resource as JSON](<https://zotonic.com/api/agent/resource/1952?language=en>)
