---
title: "TypoScript"
manual: "TYPO3 Explained"
version: "main"
permalink: "https://docs.typo3.org/permalink/t3coreapi:typoscript@main"
source: "Configuration/TypoScript/Index.rst"
rendered: "2026-09-23T17:05:17+00:00"
---

# 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/main/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/main/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 the changelog entries
> [Breaking: #97816 - TypoScript syntax changes](https://docs.typo3.org/c/typo3/cms-core/main/en-us/Changelog/12.0/Breaking-97816-TypoScriptSyntaxChanges.html#breaking-97816-1656350406)
> and [Feature: #97816 - TypoScript syntax improvements](https://docs.typo3.org/c/typo3/cms-core/main/en-us/Changelog/12.0/Feature-97816-TypoScriptSyntaxImprovements.html#feature-97816-1656350667).

**Table of Contents:**

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