# EuiFileSizePipe

**Type:** pipe



A pipe that transforms a file size in bytes into a human-readable format (e.g., KB, MB, GB).

```html
{{ 1024 | filesize }}  // Outputs: "1.00 KB"
{{ 1048576 | filesize:1 }}  // Outputs: "1.0 MB"
```

