Home : Extensions : .txt files

.txt File Extension

File Type Plain Text File

Developer N/A
Category Text Files
File Format Text

TXT file type

A TXT file is a standard text document that contains unformatted text. It is recognized by any text editing or word processing program and can also be processed by most other software programs. TXT files are often created and opened using Microsoft Notepad and Apple TextEdit.

More Information

Screenshot of a .txt file in Microsoft Notepad

TXT file open in Microsoft Notepad

TXT files are useful for storing information in plain text with no special formatting beyond basic fonts and font styles. The file is commonly used for recording notes, directions, and other similar documents that do not need to appear a certain way. If you are looking to create a document with more formatting capabilities, such as a report, newsletter, or resume, you should look to the .DOCX file, which is used by the popular Microsoft Word program.

If you have a computer running Windows, Notepad and Wordpad come bundled with the operating system (OS) and allow you to create and edit TXT files. If you have a computer running macOS (OS X), TextEdit comes bundled with the OS and is a good choice for creating and editing TXT files.

NOTE: Various hardware devices, such as smartphones and the Amazon Kindle, and web browsers, such as Chrome and Firefox, also recognize plain text files.

Common TXT Files

New Text Document.txt - The default filename Microsoft Windows gives to new text documents created via the context menu (right-click on the desktop and choose New → Text Document).

README.txt - A text file commonly included with software installers that provides information about the software. Users should often read this file before using the software.

Programs that open TXT files

Windows
Microsoft Notepad
Microsoft WordPad
Adobe Illustrator
ACD Systems Canvas
Nuance OmniPage
CorelDRAW
Google Drive
Microsoft Word 2016
Corel WordPerfect
Helios TextPad
Notepad++
Notepad2
GNU Emacs
Microsoft Visual Studio
Microsoft Word
Linux
Google Drive
Geany
Leafpad
gedit
KWrite
GNU Emacs
Adobe Acrobat
Vim
Pico
AbiSource AbiWord
Aegisub
Calibre
Cool Reader
Richardson EditRocket
IDM UltraEdit
Android
MobiSystems OfficeSuite Pro
Kingsoft WPS Office for Android
Infraware Polaris Office for Android
J2 Interactive MX Player for Android
Cool Reader
Apowersoft Phone Manager
Macintosh
Adobe Illustrator
Apple Safari
Google Drive
Apple TextEdit
Bare Bones BBEdit
MacroMates TextMate
Microsoft Word for Mac
Wondershare PDF Editor for Mac 5
GNU Emacs
Bare Bones TextWrangler
Microsoft Office
Apple Pages
Planamesa NeoOffice
Adobe Acrobat
MacVim
iOS
olimsoft OPlayer
Apple Safari
MobiSystems OfficeSuite Pro
Infraware Polaris Office for iOS
Apple Pages for iOS
Good.iWare GoodReader for iOS

Wie erstellt man eine TXT-Datei?

Es gibt mehrere Möglichkeiten:

  • Der Editor in Ihrer IDE reicht dafür aus. Die Sache, die Sie sich merken sollten, ist, dass Sie die Datei mit einer Erweiterung speichern wollen, die NICHT .py ist, wenn die Datei keinen Python-Code enthält. Muss die Erweiterung .txt sein? Nicht unbedingt, aber es ist sehr üblich, dass Textdateien diese Erweiterung haben.
  • Notepad ist ein Editor, mit dem Sie Textdateien erstellen können. Er befindet sich in "Alle Programme", unter "Zubehör" auf einem Windows-Rechner.
  • Es gibt auch andere Editoren, die ebenfalls funktionieren. Achten Sie auf das Format der Datei, die Sie speichern - normalerweise gibt es ein Feld, das Ihnen eine Auswahlmöglichkeit bietet.
  • Microsoft Word KANN eine Textdatei erstellen, aber Sie MÜSSEN sie richtig speichern. Sie müssen als "Save as Type" den Typ "Plain Text" (*.txt) wählen. Wenn Sie den Standardtyp verwenden, erhalten Sie eine DOC-Datei. Es reicht in Word NICHT aus, im Fenster "Speichern" einfach den Dateinamen "meineDatei.txt" einzugeben. Wenn der TYP der Datei nicht korrekt eingestellt ist (d. h. auf "Plain Text"), wird eine Datei mit dem Namen "meineDatei.txt.doc" erstellt, die immer noch eine DOC-Datei ist!
  • WordPad speichert eine Textdatei, aber auch hier ist der Standardtyp RTF (Rich Text). Dies ist KEINE Textdatei! Versuchen Sie, eine RTF-Datei in Notepad zu laden, und Sie werden alle anderen Daten darin sehen.

Warum brauchen wir TXT-Dateien?

  • Sie sind einfacher und schneller zu erstellen.
  • Sie sind kleiner, sodass Ihre Zip-Dateien kleiner sind und weniger Platz auf dem System einnehmen.
  • Sie sind portabler - ein Rechner mit nahezu jedem Betriebssystem kann sie lesen.
  • TAs können Zuweisungen auf Unix-Systemen statt auf Windows-Systemen benoten.
  • Sie sind leichter auf Plagiate zu prüfen.

Wie öffnet man eine TXT-Datei?

Wenn keine spezielle Formatierung von der Datei verwendet wird, kann eine Textdatei mit allen Texteditoren geöffnet werden. Eine Textdatei kann z. B. mit dem Programm Notepad in Windows geöffnet werden, mit dem Benutzer auch Textdateien anzeigen und ändern können.

Notepad++ ist ein weiteres Programm, das zum Öffnen von Textdateien verwendet werden kann. Sie müssen es einmal installieren und dann die Option mit Notepad++ bearbeiten wählen, indem Sie mit der rechten Maustaste auf die Datei klicken. Außerdem sind die meisten mobilen Geräte und Webbrowser in der Lage, Textdateien ebenfalls zu öffnen.

Wie konvertiert man TXT-Dateien?

Obwohl es viele Gründe geben kann, Textdateien in andere Formate wie XLSX, XML, HTML, CSV, PDF und mehr zu konvertieren, besteht das Hauptziel darin, das Textdateiformat zu ändern, um sie in einem anderen Dateiformat zu speichern. Die meisten fortgeschrittenen Texteditoren können das, aber einfachere unterstützen in der Regel nur grundlegende Exportformate wie RTF, CSV und TXT; daher sind sie nicht in der Lage, dies zu tun.

Das Programm Notepad++ kann zum Beispiel eine Vielzahl von Dateiformaten speichern, wie KML, HEX, VHD, AU3, SH, BAT, HTML, TXT, NFO, TEX, PLIST, REG, URL, JAVA, XML, PHP, PS, ASM, SQL, CSS, CMD und VGS.

Andere Programme, die zum Konvertieren einer Datei in ein Textformat verwendet werden, können wahrscheinlich mit einigen verschiedenen Arten von Erweiterungen speichern, wie XML, TXT, CSV und RTF. Wenn Sie also eine Datei aus einem bestimmten Programm in das TXT-Format umbenennen möchten, müssen Sie zu der Anwendung zurückgehen, die die ursprüngliche Textdatei erstellt hat.



About TXT Files

Our goal is to explain what .txt file is used for for and how to open it.

File Plain Text File usage cases for Mac, Windows, Linux, Android, and iOS software listed on this page have been individually researched and verified using the FilesWiki team. We strive for 100% accuracy and only publish information about file formats that we have tested and verified.