.NB File Extension

2 file types use the .nb file extension.

Mathematica Notebook

Developer Wolfram Research
3.6  |  96 Votes

What is an NB file?

An NB file is a structured document created by Wolfram Research Mathematica, an application used for mathematical and scientific computation. It contains the elements that comprise a document, which may include text, images, audio, hyperlinks, functions, and interactive user interface elements in plain text in the Wolfram Language expression syntax. Users typically open NB files with Wolfram Research Mathematica and the free Wolfram Research CDF Player.

More Information

Screenshot of a .nb file in Wolfram Research Mathematica 14
NB file open in Wolfram Research Mathematica 14

The NB file type is the native file format for saving Mathematica notebooks. Wolfram Research released the Mathematica Notebook (NB) format in 1988.

You can design notebooks by arranging their cells, which store data, similar to a standard spreadsheet. Additionally, you can format text, add graphics, generate graphs, and more to the cells in the notebooks to make them interactive.

Common NB Filenames

DefaultStyles.nb - Name of the NB file used as the default style sheet for new notebooks.

How to open an NB file

You can open NB files with Wolfram Research Mathematica. To open an NB file, select File → Open (you can also open Notebooks within a Mathematica function via the NotebookOpen command). Wolfram Research CDF Player is a free app that can also open NB files.

Since NB files store notebook information in plain text, you can view them with a text editor, such as Microsoft Notepad in Windows, Apple TextEdit in macOS, or gedit in Linux. However, opening NB files with a plain text editor will not display them the same as Mathematica or CDF Player, which displays them natively.

How to convert an NB file

Wolfram Research Mathematica converts NB files to various file types, including the following formats:

  • .TXT - Plain Text File
  • .TEX - LaTeX Source Document
  • .PS - PostScript File
  • .RTF - Rich Text Format File
  • .M - Wolfram Language Package
  • .PDF - Portable Document Format
Open over 400 file formats with File Viewer Plus.Free Download

Programs that open NB files

Nota Bene File

Developer Nota Bene
2.4  |  14 Votes

File created by Nota Bene, a word processor for academic research and writing; contains formatted text, bibliography references, images, symbols, etc.; used for academic writing purposes such as theses and research papers.

More Information

To create a NB file:

  1. Open the Nota Bene application, select File → Save As... or click the "Save As" arrow icon on the left pane of the Nota Bene window.
  2. Choose the save location of your file and name it. The "Save as type" default creates the NB file, click Save.

Programs that open NB files


Verified by FileInfo.com

The FileInfo.com team has independently researched all file formats and software programs listed on this page. Our goal is 100% accuracy and we only publish information about file types that we have verified.

If you would like to suggest any additions or updates to this page, please let us know.