text/plain
Plain text document
| Description | Plain text document |
|---|---|
| File extensions | .asc, .txt |
| Signature (magic bytes) | 54 68 69 73 20 69 73 20 54 65 58 2C (This is TeX,) |
Frequently asked questions
What is the MIME type text/plain?
text/plain denotes “Plain text document”.
Which file extension does text/plain use?
Files of type text/plain usually end in .asc and .txt.
How does a web server serve text/plain correctly?
With the header Content-Type: text/plain. In nginx: types { text/plain asc txt; }; in Apache: AddType text/plain .asc .txt.
Which formats are based on text/plain?
Formats based on it include Macintosh BinHex-encoded file, Mathematica Notebook file, Mailbox file and Detached S/MIME signature.
Formats based on it
- application/mac-binhex40 – Macintosh BinHex-encoded file
- application/mathematica – Mathematica Notebook file
- application/mbox – Mailbox file
- application/pkcs7-signature – Detached S/MIME signature
- application/postscript – PostScript document
- application/relax-ng-compact-syntax – RELAX NG XML schema
- application/rtf – RTF document
- application/sdp – SDP multicast stream file
- application/sql – SQL code
- application/toml – TOML document
- application/trig – TriG RDF document
- application/vnd.apple.mpegurl – Media playlist
- application/vnd.chess-pgn – PGN chess game notation
- application/vnd.coffeescript – CoffeeScript document
- application/vnd.cups-ppd – PostScript printer description
- application/vnd.dart – Dart source code
- application/vnd.flatpak.ref – Flatpak repository reference
- application/vnd.flatpak.repo – Flatpak repository description
- application/vnd.gerber – Gerber file
- application/x-asp – ASP page
- application/x-awk – AWK script
- application/x-bat – DOS/Windows batch file
- application/x-ccmx – CCMX color correction file
- application/x-cdrdao-toc – CD Table Of Contents
- application/x-cisco-vpn-settings – Cisco VPN settings
- application/x-csh – C shell script
- application/x-cue – CD image cuesheet
- application/x-desktop – Desktop entry
- application/x-excellon – Excellon drill file
- application/x-fishscript – Fish shell script
- application/x-fluid – FLTK Fluid file
- application/x-gd-rom-cue – GD-ROM image cuesheet
- application/x-gdscript – GDScript script
- application/x-gnuplot – Gnuplot document
- application/x-go-sgf – SGF record
- application/x-godot-project – Godot Engine project
- application/x-godot-shader – Godot Engine shader
- application/x-ica – Citrix ICA settings file
- application/x-it87 – IT 8.7 color calibration file
- application/x-lyx – LyX document
- application/x-m4 – M4 macro
- application/x-magicpoint – MagicPoint presentation
- application/x-mswinurl – Internet shortcut
- application/x-nautilus-link – Nautilus link
- application/x-nuscript – Nu shell script
- application/x-openvpn-profile – OpenVPN profile
- application/x-perl – Perl script
- application/x-php – PHP script
- application/x-powershell – PowerShell script
- application/x-profile – Profiler results
- application/x-qtiplot – QtiPlot document
- application/x-ruby – Ruby script
- application/x-sami – SAMI subtitles
- application/x-shared-library-la – Libtool shared library
- application/x-shellscript – Shell script
- application/x-subrip – SubRip subtitles
- application/x-troff-man – Manual page
- application/x-wais-source – WAIS source code
- application/xml – XML document
- application/xml-dtd – DTD file
- application/yaml – YAML document
- audio/x-mpegurl – Media playlist
- chemical/x-pdb – Protein Data Bank file
- message/delivery-status – Mail delivery report
- message/disposition-notification – Mail disposition report
- message/news – Usenet news message
- message/partial – Partial email message
- message/rfc822 – Email message
- model/iges – IGES document
- model/mtl – OBJ 3D model material library
- model/obj – OBJ 3D model
- model/vrml – VRML document
- text/cache-manifest – Web application cache file
- text/calendar – VCS/ICS calendar
- text/css – CSS stylesheet
- text/csv – CSV document
- text/csv-schema – CSV Schema document
- text/enriched – Enriched text document
- text/html – HTML document
- text/htmlh – Help page
- text/javascript – JavaScript program
- text/julia – Julia source code
- text/markdown – Markdown document
- text/org – Org-mode file
- text/rfc822-headers – Email headers
- text/richtext – Rich text document
- text/rust – Rust source code
- text/sgml – SGML document
- text/spreadsheet – Spreadsheet interchange document
- text/tab-separated-values – TSV document
- text/tcl – Tcl script
- text/troff – Troff document
- text/turtle – Turtle document
- text/vbscript – VBScript program
- text/vbscript.encode – Encoded VBScript program
- text/vcard – Electronic business card
- text/vnd.familysearch.gedcom – GEDCOM family history
- text/vnd.graphviz – Graphviz DOT graph
- text/vnd.rn-realtext – RealText document
- text/vnd.senx.warpscript – WarpScript source code
- text/vnd.sun.j2me.app-descriptor – JAD document
- text/vnd.wap.wmlscript – WMLScript program
- text/vtt – WebVTT subtitles
- text/x-adasrc – Ada source code
- text/x-authors – Author list
- text/x-basic – BASIC program
- text/x-bibtex – BibTeX document
- text/x-blueprint – Blueprint source code
- text/x-changelog – ChangeLog document
- text/x-cmake – CMake source code
- text/x-cobol – COBOL source code
- text/x-common-lisp – Common Lisp source code
- text/x-copying – License terms
- text/x-credits – Author credits
- text/x-crystal – Crystal source code
- text/x-csrc – C source code
- text/x-dbus-service – D-Bus service file
- text/x-dcl – DCL script
- text/x-devicetree-source – Devicetree source code
- text/x-dsl – DSSSL document
- text/x-eiffel – Eiffel source code
- text/x-elixir – Elixir source code
- text/x-emacs-lisp – Emacs Lisp source code
- text/x-erlang – Erlang source code
- text/x-fortran – Fortran source code
- text/x-genie – Genie source code
- text/x-gettext-translation – Translation file
- text/x-gettext-translation-template – Translation template
- text/x-gherkin – Gherkin document
- text/x-go – Go source code
- text/x-google-video-pointer – Google Video Pointer shortcut
- text/x-haskell – Haskell source code
- text/x-iMelody – iMelody ringtone
- text/x-idl – IDL document
- text/x-install – Installation instructions
- text/x-iptables – iptables configuration file
- text/x-kotlin – Kotlin source code
- text/x-ldif – LDIF address book
- text/x-lilypond – Lilypond music sheet
- text/x-literate-haskell – LHS source code
- text/x-log – Application log
- text/x-lua – Lua script
- text/x-makefile – Makefile build file
- text/x-matlab – MATLAB file
- text/x-meson – Meson source code
- text/x-microdvd – MicroDVD subtitles
- text/x-moc – Qt MOC file
- text/x-modelica – Modelica model
- text/x-mpl2 – MPL2 subtitles
- text/x-mpsub – MPlayer subtitles
- text/x-ms-regedit – Windows Registry extract
- text/x-mup – Mup musical composition document
- text/x-nim – Nim source code
- text/x-ocaml – OCaml source code
- text/x-ocl – OCL file
- text/x-pascal – Pascal source code
- text/x-patch – Differences between files
- text/x-python – Python script
- text/x-qml – Qt Markup Language file
- text/x-readme – README document
- text/x-reject – Rejected patch
- text/x-rpm-spec – RPM spec file
- text/x-rst – ReStructuredText document
- text/x-sass – Sass CSS pre-processor file
- text/x-scala – Scala source code
- text/x-scheme – Scheme source code
- text/x-scss – SCSS pre-processor file
- text/x-setext – Setext document
- text/x-ssa – SSA subtitles
- text/x-subviewer – SubViewer subtitles
- text/x-systemd-unit – Systemd unit file
- text/x-tex – TeX document
- text/x-texinfo – TeXInfo document
- text/x-todo-txt – Todo.txt file
- text/x-troff-me – Troff ME input document
- text/x-troff-ms – Troff MS input document
- text/x-twig – Twig template
- text/x-txt2tags – txt2tags document
- text/x-typst – Typst document
- text/x-uil – X-Motif UIL table
- text/x-uri – Resource location
- text/x-uuencode – uuencoded file
- text/x-vb – Visual Basic .NET source code
- text/x-verilog – Verilog source code
- text/x-vhdl – VHDL source code
- text/x.gcode – G-code file
- text/xmcd – XMCD CD database
- video/vnd.mpegurl – Video playlist