---
title: "TypoScript"
manual: "TYPO3 Explained"
version: "12.4"
permalink: "https://docs.typo3.org/permalink/t3coreapi:typoscript@12.4"
source: "Configuration/TypoScript/Index.rst"
rendered: "2026-10-21T15:29:37+00:00"
---

> [!WARNING]
> **Attention**
>
> TYPO3 v12 has reached end-of-life as of April 30th 2026 and
> is no longer being maintained. Use the version switcher on the top
> left of this page to select documentation for a supported version of TYPO3.
>
> Need more time before upgrading?
> You can purchase Extended Long Term Support (ELTS) for TYPO3 v12 here:
> [TYPO3 ELTS](https://typo3.com/services/extended-support-elts).

# TypoScript {#typoscript}

This chapter describes the syntax of TypoScript. The TypoScript syntax
and its parser logic is mainly used in two different contexts: `Frontend TypoScript`
to configure frontend rendering and `TSconfig` to configure backend details
for backend users.

While the underlying TypoScript syntax is described in this chapter, both use cases
and their details are found in standalone manuals:

-   The [TypoScript Reference](https://docs.typo3.org/m/typo3/reference-typoscript/12.4/en-us/Index.html#start) goes into details about the
    usage of TypoScript in the frontend and backend.
-   A quick kick start to frontend TypoScript is available at
    [TypoScript guide](https://docs.typo3.org/m/typo3/reference-typoscript/12.4/en-us/Guide/Index.html#guide).

> [!NOTE]
> The TypoScript parser has been rewritten with TYPO3 v12. The new implementation is
> more resilient and more performant. This chapter has been rewritten for TYPO3 v12.
> Some hints are given throughout the document where the new parser is more relaxed
> or more strict. Refer to
> [older versions](https://docs.typo3.org/m/typo3/reference-coreapi/11.5/en-us/Configuration/TypoScriptSyntax/Index.html)
> of this chapter when using TYPO3 versions older than v12. More details of changes implemented with the
> new parser can be found in this [Breaking: #97816 - TypoScript syntax changes](https://docs.typo3.org/c/typo3/cms-core/main/en-us/Changelog/12.0/Breaking-97816-TypoScriptSyntaxChanges.html)
> and this [Feature: #97816 - TypoScript syntax improvements](https://docs.typo3.org/c/typo3/cms-core/main/en-us/Changelog/12.0/Feature-97816-TypoScriptSyntaxImprovements.html)
> changelog entries.

**Table of Contents:**

-   [Introduction](https://docs.typo3.org/permalink/t3coreapi:introduction@12.4)
-   [Syntax](https://docs.typo3.org/permalink/t3coreapi:syntax@12.4)
-   [Frontend TypoScript](https://docs.typo3.org/permalink/t3coreapi:frontend-typoscript@12.4)
-   [TSconfig](https://docs.typo3.org/permalink/t3coreapi:tsconfig-1@12.4)
-   [PHP API](https://docs.typo3.org/permalink/t3coreapi:php-api@12.4)
-   [Myths and FAQ](https://docs.typo3.org/permalink/t3coreapi:myths-and-faq@12.4)
