---
title: "Render.text ViewHelper <f:render.text>"
manual: "Fluid ViewHelper Reference"
version: "13.4"
permalink: "https://docs.typo3.org/permalink/t3viewhelper:typo3-fluid-render-text@13.4"
source: "Global/Render/Text.rst"
rendered: "2026-10-04T10:44:02+00:00"
---

# Render.text ViewHelper `<f:render.text>` {#typo3-fluid-render-text}

ViewHelper to render content based on records and fields from a TCA schema. Handles the processing of both simple and rich text fields. By default, accessing a missing field raises an error. Set `optional` to `true` to return null instead.

Can also handle extbase models, you still need to provide the field name, not the property name.

```html
  <f:render.text record="{page}" field="bodytext" />
  {record -> f:render.text(field: 'title')}
  <f:render.text field="subheader">{record}</f:render.text>
  {record -> f:render.text(field: 'subheader', optional: true)}

```

Go to the source code of this ViewHelper: [Render\\TextViewHelper.php (GitHub)](https://github.com/TYPO3/typo3/blob/main/typo3/sysext/fluid/Classes/ViewHelpers/Render/TextViewHelper.php).

**Arguments**

The following arguments are available for the render.text ViewHelper:

-   **field**

    -   *Type:* string
    -   *Required:* true

    The database field that should be rendered (even if extbase model is used).

-   **optional**

    -   *Type:* boolean
    -   *Default:* false

    If the provided field does not exist in the record, null will be returned.

-   **record**

    -   *Type:* object

    A Record API Object or extbase model
