.nb Mathematica Notebook file

Documents & office

MIME typeapplication/mathematica
DescriptionMathematica Notebook file
CategoryDocuments & office
Based ontext/plain

Frequently asked questions

What is a .nb file?

A .nb file is a “Mathematica Notebook file” (MIME type application/mathematica).

How do I open a .nb file?

With an office suite: LibreOffice (free, Windows/macOS/Linux) opens most document formats, as do Microsoft Office or the vendor’s own app.

How can you tell a genuine .nb 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.nb shows the guessed type.

Which format is .nb based on?

Technically a .nb 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 .nb?

The MIME type is application/mathematica. In the Apache web server: AddType application/mathematica .nb; in nginx: types { application/mathematica nb; }.

Nearby entries