.txt Plain text document
Texto e código-fonte
| Tipo MIME | text/plain |
|---|---|
| Descrição | Plain text document |
| Categoria | Texto e código-fonte |
| Assinatura (magic bytes) | 54 68 69 73 20 69 73 20 54 65 58 2C (This is TeX,) |
| Outras extensões | .asc |
Perguntas frequentes
O que é um arquivo .txt?
Um arquivo .txt é um formato do tipo “Plain text document” (tipo MIME text/plain).
Como abro um arquivo .txt?
Com qualquer editor de texto – Notepad++, Visual Studio Code, ou gedit e vim no Linux. O arquivo contém texto legível, possivelmente código-fonte ou configuração.
Como reconhecer um arquivo .txt verdadeiro?
Pelos bytes do início do arquivo, a assinatura (magic bytes): 54 68 69 73 20 69 73 20 54 65 58 2C (This is TeX,). No Linux e no macOS, file --mime-type example.txt verifica o tipo real independentemente da extensão.
Qual tipo MIME corresponde a .txt?
O tipo MIME é text/plain. No servidor web Apache: AddType text/plain .txt; no nginx: types { text/plain txt; }.