.NB

Файл NB

Wolfram Mathematica Notebook
Задать вопрос
БЫСТРЫЙ ОТВЕТ

An NB file is a Wolfram Mathematica notebook - a document that mixes code, results, equations, and graphics in cells. To open one, use Wolfram Mathematica (paid) or the free Wolfram Player. Evaluating code inside an untrusted notebook carries some risk, but viewing it in Wolfram Player is safe.

Разработчик: Wolfram Research Категория: Файлы разработчика MIME: application/vnd.wolfram.mathematica
ОТКРЫВАЕТСЯ НА Windows macOS Linux Web
Связанные: .DO · .MD · .HEX · .XSD

На этой странице

Проиндексировано расширений: 19k+
Последняя проверка: Jun 29, 2026

Не знаете, что это за файл?

Перетащите любой файл в наш идентификатор - мы прочитаем первые байты, чтобы определить формат.

Идентифицировать файл

Что такое формат файла NB?

.nb is a file format associated with Mathematica software developed by Wolfram Research. Rather than a simple output file, a .nb notebook is a live computational document that mixes executable code, formatted results, typeset mathematics, and rich media in a single file. .nb files can contain images, audio data, mathematical functions, or references to external resources. .nb files store information in plain text as a top-level Notebook[] Wolfram Language expression, with content organized into nested Cell[] objects - input cells, output cells, text cells, and section headings. .nb data can be accessed interactively using the Mathematica notebook viewer; that data can be edited and manipulated.

Mathematica can be used to perform advanced mathematical computations. It supports such data as images, graphs, or audio data. Mathematica can generate such structures as fractals based on equations, or calculate audio signal correlations. .nb notebooks can be exported to other formats, including PDF, HTML, LaTeX, and CDF. DefaultStyles.nb is a built-in notebook that defines the default cell styles applied to new notebooks; it ships with Mathematica as a style template rather than as the format specification itself. Related Wolfram text-based formats include .wl for pure Wolfram Language scripts and .m for legacy package files.

Безопасность и защита

РИСК: MEDIUM

A notebook can contain executable Wolfram Language code, and evaluating cells can run arbitrary operations (file access, network, system calls). Opening an .nb to VIEW it (especially in Wolfram Player) is safe; the risk is RUNNING code from an untrusted notebook. Treat an unfamiliar .nb like a script: read the input cells before evaluating, and don't blindly Shift+Enter through a notebook from an unknown source. The plain-text format makes inspection easy.

Детали формата

в двух словах
ПОЛНОЕ НАЗВАНИЕWolfram Mathematica Notebookтакже известен как Mathematica notebook, Wolfram Notebook
РАЗРАБОТЧИКWolfram Researchс 1988 (Mathematica 1.0)
MIME-ТИПapplication/vnd.wolfram.mathematica
ТИПStructured text document (Wolfram Language expressions)
СВЯЗАННЫЕ.do.md.hex.xsd

Программы, открывающие файлы NB

Windows3 apps
Wolfram Mathematica Платно File > Open the .nb to view, edit, and evaluate cells (Shift+Enter runs a cell). The native, full-featured app.
Wolfram Player Бесплатно Open the .nb to read and interact with it for free (view results, manipulate Manipulate[] controls); you cannot edit/run arbitrary new code.
Text editor (Notepad++) Открытый код Opens the raw Notebook[{Cell[...]}] source as text - useful to inspect, not to render the formatted document.
macOS2 apps
Wolfram Mathematica Платно File > Open the .nb to view, edit, and evaluate cells (Shift+Enter runs a cell). The native, full-featured app.
Wolfram Player Бесплатно Open the .nb to read and interact with it for free (view results, manipulate Manipulate[] controls); you cannot edit/run arbitrary new code.
Linux3 apps
Text editor Открытый код View the plain-text Wolfram Language source of the .nb.
Wolfram Mathematica Платно File > Open the .nb to view, edit, and evaluate cells (Shift+Enter runs a cell). The native, full-featured app.
Wolfram Player Бесплатно Open the .nb to read and interact with it for free (view results, manipulate Manipulate[] controls); you cannot edit/run arbitrary new code.
Web1 app
Wolfram Cloud Freemium Upload and open the notebook in the browser to view and (with an account) run it - no local install.

Технические подробности

глубокая спецификация
MIME typeapplication/vnd.wolfram.mathematica (also application/mathematica for older files)
Text encodingUTF-8; legacy files use ASCII with \[Name] escape sequences for Unicode and special characters
File structureSingle top-level Notebook[] expression containing an ordered list of Cell[] objects, each tagged with a style name such as Input, Output, Text, Title, or Section
CompressionNone at file level; embedded raster images and large graphics are stored as base64 or PackedArray data inside cell expressions
Cell typesInput (code), Output (cached results), Text, Title, Chapter, Section, Subsection, Print, Message - organized into collapsible CellGroup[] sections
Typical file size10 KB to several MB; size grows significantly when notebooks cache output graphics or embed high-resolution images
Live interactivityCode cells evaluate against a running Wolfram kernel; output is cached in Output cells and remains visible without a kernel for static reading
Notebook lockingOptional player-locked variant (.nbp) created via Encode[]; restricts editing while allowing Wolfram Player to execute the notebook
Platform supportWindows, macOS, Linux via Wolfram Mathematica (full authoring) and Wolfram Player (free, run-only); also available via Wolfram Cloud in a browser
Evaluation languageWolfram Language (formerly Mathematica Language); all code cells are Wolfram Language expressions evaluated by a connected kernel
Export formatsPDF, HTML, TeX/LaTeX, CDF, PNG, SVG, EPS, Markdown, and plain text via Export[] or File > Save As
Version compatibilityForward- and backward-compatible across Mathematica versions; format version is declared in the file header and newer constructs are feature-gated
File identificationNo binary magic bytes; identified by the plain-text header comment (* Content-type: application/vnd.wolfram.mathematica *) on the first line
Related formats.wl and .wls (Wolfram Language scripts), .cdf (Computable Document Format), .m (legacy package), .mx (binary serialized expression dump)
Выпущен1988 (Mathematica 1.0)
Последняя версияWolfram Notebook format tracks the app (Mathematica 14.x / Wolfram Language 14, 2024-2025)
Спецификацияreference.wolfram.com

Конвертации NB

Вопросы и ответы сообщества

спрошено пользователями
Задать быстрый вопрос
Получите помощь от людей, работающих с файлами NB. Будьте конкретны - укажите вашу систему и версию ПО.
Аккаунт не нужен · ответы обычно в течение дня

Вопросов пока нет - станьте первым, кто спросит о файлах NB.

Часто задаваемые вопросы

How do I open an NB file without Mathematica?
Use the free Wolfram Player to read and interact with the notebook (view results, use Manipulate sliders). You can't edit or run new code without Mathematica, but you can see everything. Wolfram Cloud also opens notebooks in a browser.
What program opens a .nb file?
Wolfram Mathematica (full editing and computation) or the free Wolfram Player (view/interact). A text editor shows the raw source but won't render the formatted document.
Is an NB file a spreadsheet?
No - that's a database mislabel. An .nb is a Wolfram Mathematica notebook: a computational document of code, results, text, and graphics, not a spreadsheet.
How do I convert a Mathematica notebook to PDF?
Open it in Mathematica or Wolfram Player and use File > Save As / Export > PDF (or Print to PDF). This gives a static, shareable copy of the rendered notebook.
Why is my .nb full of Notebook[ Cell[...] ] text?
That's the notebook's source - an .nb is stored as plain Wolfram Language text. Open it in Mathematica or Wolfram Player to see it rendered with formatted math and graphics.
What's the difference between .nb and .cdf?
An .nb is the editable Mathematica notebook; a .cdf (Computable Document Format) is a deployment version that the free Wolfram Player can run interactively. You author in .nb and export to .cdf to share.

Ссылки

1Wolfram - The Structure of Notebooksreference.wolfram.com
2Wolfram Player - official pagewww.wolfram.com

Узнать больше

по всей базе данных

Популярные расширения на этой неделе

1.AQQAQQ Instant Messenger File
2.BINCD/DVD Disc Image (BIN/CUE)
3.MDMarkdown Document
4.CRDOWNLOADChrome Partial Download File
5.RPMSGRestricted Permission Message
6.PARTPartial Download File
7.NOMEDIAAndroid No-Media Marker File
8.EXEWindows Executable (Portable Executable)
9.DBSQLite Database File
10.SWFSmall Web Format (Shockwave Flash)

Похожие расширения

.DOStata Do-File
.MDMarkdown Document
.HEXIntel HEX File
.XSDXML Schema Definition
.MAPSource Map (JavaScript / CSS)
.CONFIGConfiguration File

Бесплатные инструменты для файлов

Идентификатор файлов и конвертер изображений в браузере - все работает на вашем устройстве.

Открыть инструменты

Обзор расширений файлов A-Z