.txt Einfaches Textdokument

Text & Quellcode

MIME-Typtext/plain
BeschreibungEinfaches Textdokument
KategorieText & Quellcode
Signatur (Magic Bytes)54 68 69 73 20 69 73 20 54 65 58 2C (This is TeX,)
Weitere Endungen.asc

Häufige Fragen

Was ist eine .txt-Datei?

Eine .txt-Datei ist ein Format vom Typ „Einfaches Textdokument“ (MIME-Typ text/plain).

Womit öffne ich eine .txt-Datei?

Mit jedem Texteditor – etwa Notepad++, Visual Studio Code oder unter Linux gedit und vim. Die Datei enthält lesbaren Text, ggf. Quellcode oder Konfiguration.

Woran erkennt man eine echte .txt-Datei?

Am Dateianfang, der sogenannten Signatur (Magic Bytes): 54 68 69 73 20 69 73 20 54 65 58 2C (This is TeX,). Unter Linux und macOS prüft file --mime-type example.txt den tatsächlichen Typ unabhängig von der Endung.

Welcher MIME-Typ gehört zu .txt?

Der MIME-Typ ist text/plain. Im Apache-Webserver: AddType text/plain .txt; in nginx: types { text/plain txt; }.

Benachbarte Einträge