---
title: "Rendering RTE content in the Frontend"
manual: "TYPO3 Explained"
version: "13.4"
permalink: "https://docs.typo3.org/permalink/t3coreapi:rte-rendering-frontend@13.4"
source: "ApiOverview/Rte/RenderingInTheFrontend/Index.rst"
rendered: "2026-09-21T07:21:01+00:00"
---

# Rendering RTE content in the Frontend {#rte-rendering-frontend}

The explanations on this page don't show how to display an RTE but rather, describe how
rendering of content should be done in the frontend when it was entered with help
of an RTE.

> [!NOTE]
> For including an RTE in the frontend you can read
> [Using an RTE in the frontend](https://docs.typo3.org/permalink/t3coreapi:rte-frontend-introduction@13.4).

## Fluid templates {#rte-rendering-fluid}

Rich text editors enrich content with HTML and pseudo HTML (for example a special
link syntax). You should therefore always render the output of a RTE field
with the [Format.html ViewHelper \<f:format.html>](https://docs.typo3.org/other/typo3/view-helper-reference/13.4/en-us/Global/Format/Html.html#typo3-fluid-format-html):

**packages/my_extension/Resources/Private/Templates/MyContentElement.html**

```html
<f:format.html>{data.bodytext}</f:format.html>
```

## TypoScript {#rte-rendering-typoscript}

Rendering is sometimes done by TypoScript only, in those cases it is possible to
use `lib.parseFunc_RTE` for parsing and rendering (see also
[TypoScript function parseFunc](https://docs.typo3.org/m/typo3/reference-typoscript/13.4/en-us/Functions/Parsefunc.html#parsefunc)):

For example to render the `bodytext` filed of table `tt_content` without Fluid:

**packages/my_extension/Configuration/Sets/MySet/setup.typoscript**

```typoscript
tt_content.my_content_element = TEXT
tt_content.my_content_element {
  field = bodytext
  wrap = <p>|</p>
  stdWrap.parseFunc < lib.parseFunc_RTE
}

```

Usually the TypoScript function `typolink` should be used for single links,
but for text that might include several links that is not possible easily.
Therefore `lib.parseFunc_RTE` is used to simplify and streamline this process.

Details to `parseFunc` can be found in the TypoScript Reference:

-   [TypoScript Reference: parseFunc](https://docs.typo3.org/m/typo3/reference-typoscript/13.4/en-us/Functions/Parsefunc.html#parsefunc)
-   [TypoScript Reference: stdWrap.parseFunc](https://docs.typo3.org/m/typo3/reference-typoscript/13.4/en-us/Functions/Stdwrap.html#stdwrap-parseFunc)
-   [TypoScript Reference: TEXT](https://docs.typo3.org/m/typo3/reference-typoscript/13.4/en-us/ContentObjects/Text/Index.html#cobj-text)
