---
title: "BoxData"
language: "en"
type: "Symbol"
summary: "BoxData[boxes] is a low-level representation of the contents of a typesetting cell."
keywords: 
- two-dimensional typesetting
- typeset cells
- mathematical typesetting
- mathematical formatting
- two-dimensional input
- two-dimensional output
- low-level notebook representation
canonical_url: "https://reference.wolfram.com/language/ref/BoxData.html"
source: "Wolfram Language Documentation"
related_guides: 
  - 
    title: "Low-Level Notebook Structure"
    link: "https://reference.wolfram.com/language/guide/LowLevelNotebookStructure.en.md"
related_functions: 
  - 
    title: "TextData"
    link: "https://reference.wolfram.com/language/ref/TextData.en.md"
  - 
    title: "RawData"
    link: "https://reference.wolfram.com/language/ref/RawData.en.md"
  - 
    title: "StyleData"
    link: "https://reference.wolfram.com/language/ref/StyleData.en.md"
  - 
    title: "Cell"
    link: "https://reference.wolfram.com/language/ref/Cell.en.md"
related_tutorials: 
  - 
    title: "The Structure of Cells"
    link: "https://reference.wolfram.com/language/tutorial/ManipulatingNotebooks.en.md#5793"
---
# BoxData

BoxData[boxes] is a low-level representation of the contents of a typesetting cell.

## Details

* Typesetting cells contain two-dimensional input, grids, frames, two- and three-dimensional graphics, and other related constructs.

* ``BoxData`` is typically used as the contents of a ``Cell`` expression, and not on its own.

* Except for low-level notebook expression manipulation, ``BoxData`` should not need to be used directly.

---

## Examples (2)

### Basic Examples (2)

Create a text cell from a low-level description:

```wl
In[1]:= CellPrint[Cell["abcd", "Text"]]
```

abcd

---

Create a typesetting cell from a low-level description:

```wl
In[1]:= CellPrint[Cell[BoxData[SuperscriptBox["X", "2"]], "Output"]]

Out[1]= X^2
```

## See Also

* [`TextData`](https://reference.wolfram.com/language/ref/TextData.en.md)
* [`RawData`](https://reference.wolfram.com/language/ref/RawData.en.md)
* [`StyleData`](https://reference.wolfram.com/language/ref/StyleData.en.md)
* [`Cell`](https://reference.wolfram.com/language/ref/Cell.en.md)

## Tech Notes

* [The Structure of Cells](https://reference.wolfram.com/language/tutorial/ManipulatingNotebooks.en.md#5793)

## Related Guides

* [Low-Level Notebook Structure](https://reference.wolfram.com/language/guide/LowLevelNotebookStructure.en.md)

## History

* [Introduced in 2010 (8.0)](https://reference.wolfram.com/language/guide/SummaryOfNewFeaturesIn80.en.md)