---
title: "Format.printf ViewHelper <f:format.printf>"
manual: "Fluid ViewHelper Reference"
version: "14.3"
permalink: "https://docs.typo3.org/permalink/t3viewhelper:typo3fluid-fluid-format-printf@14.3"
source: "Global/Format/Printf.rst"
rendered: "2026-10-01T16:43:06+00:00"
---

# Format.printf ViewHelper `<f:format.printf>` {#typo3fluid-fluid-format-printf}

A ViewHelper for formatting values with printf. Either supply an array for
the arguments or a single value.

See [http://www.php.net/manual/en/function.sprintf.php](http://www.php.net/manual/en/function.sprintf.php)

Go to the source code of this ViewHelper: [Format\\PrintfViewHelper.php (GitHub)](https://github.com/TYPO3/Fluid/blob/main/src/ViewHelpers/Format/PrintfViewHelper.php).

## Arguments of the `<f:format.printf>` ViewHelper {#typo3fluid-fluid-format-printf-arguments}

-   **arguments**

    -   *Type:* array
    -   *Default:* array (
    )

    The arguments for vsprintf

-   **value**

    -   *Type:* string

    String to format
