.bib BibTeX document

Text & source code

MIME typetext/x-bibtex
DescriptionBibTeX document
CategoryText & source code
Based ontext/plain

Frequently asked questions

What is a .bib file?

A .bib file is a “BibTeX document” (MIME type text/x-bibtex).

How do I open a .bib file?

With any text editor – Notepad++, Visual Studio Code, or gedit and vim on Linux. The file contains readable text, possibly source code or configuration.

How can you tell a genuine .bib file?

No fixed signature at the start of the file is registered for this format; it is recognised mainly by its extension. On Linux and macOS, file --mime-type example.bib shows the guessed type.

Which format is .bib based on?

Technically a .bib file is a subtype of “Plain text document” (text/plain), so programs for that base format can often read it too.

Which MIME type belongs to .bib?

The MIME type is text/x-bibtex. In the Apache web server: AddType text/x-bibtex .bib; in nginx: types { text/x-bibtex bib; }.

Nearby entries