TypoScript coding guidelines

Directory and file names

Changed in version 12.0

Support for other TypoScript file extensions, such as .txt or .ts, has been removed in TYPO3 v12.

  • The file extension must be .typoscript.
  • TypoScript files are located in the directory <extension>/Configuration/TypoScript.
  • File name for constants in static templates: constants.typoscript.
  • File name for TypoScript in static templates: setup.typoscript.


  • Use spaces, not TABs.
  • Use 2 spaces per indenting level.

More information

  • See Setup IDE / editor in this manual for information about setting up your editor / IDE to adhere to the coding guidelines.