Datatypes

File name extension

ID file_extension

DatatypeNot PIIcategoricalDraft

This record is a draft: it has not been reviewed yet and may be incomplete or wrong. Do not rely on it for compliance decisions. Help improve it (see CONTRIBUTING.md).

Suffix of a file name that tells the format of the file, such as pdf, docx or csv, written with or without the leading dot. The full name of a file is the datatype filename.

Categories
Common
Countries
Global (not tied to a country)
Languages
Common to most languages
FTA
FILENAME_EXT
Wikidata
P1195
Quality
100/100
Metacrafter rules
no detection rule yet
Supported by tools
FTA (Fast Text Analysis)

Regular expression

^\.?[A-Za-z0-9]{1,10}$

Python re syntax.

Examples

ValueDescription
pdf
.docx
CSV
report.pdf invalida file name, not an extension

Translations

LanguageNameDescription
RussianРасширение имени файла

Sources

Use this record