> For the complete documentation index, see [llms.txt](https://docs.papers.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.papers.ai/writing-and-editing/working-with-word-documents.md).

# Working with Word documents

Open a .docx file into a paginated, Word-style editor with comments, citations, and track changes.

Opening a `.docx` file takes you into a paginated editor that looks and behaves like Word, not raw source.

## Edit and export

{% stepper %}
{% step %}

### Open the file

Open a `.docx` file from the file explorer, or import one into your project.
{% endstep %}

{% step %}

### Edit

Edit directly in the paginated view. Add comments and citations as you go.
{% endstep %}

{% step %}

### Track changes

Use track changes to review, accept, or reject edits.
{% endstep %}

{% step %}

### Save or export

Save. To get the file back out, use the export/download action: it writes a real `.docx` file.
{% endstep %}
{% endstepper %}

{% hint style="success" %}
Ask the AI to draft or rewrite a section for you, then review and apply the change the same way you'd review any other proposed edit. See [Using AI](https://docs.papers.ai/using-ai/using-ai.md).
{% endhint %}

## References

Use the **References** tab to add citations and notes, and to build a table of contents or a list of figures.

#### Add a citation, footnote, or endnote

Open the **References** tab and click **Citation**, **Footnote**, or **Endnote**. Click the arrow next to a button for more options:

* **Citation** — **Citation style** and the bibliography.
* **Footnote** and **Endnote** — **Configure footnotes/endnotes** and **Convert notes**.

#### Add a table of contents or a list of figures

Open **Table of contents** or **List of figures** and choose **Insert**. If the document already has one, choose **Update** instead.

## Fill in drop-down and date fields

Click a drop-down or date field in a Word template to pick a value. From the keyboard, place the cursor in or next to the field and press Alt+↓ (Option+↓ on a Mac).

## Line numbers

To number the lines of a Word document, open the **Page** tab and choose **Line numbers**:

* **Continuous** numbers the whole document.
* **Restart each page** or **Restart each section** starts again from 1.
* **None** removes them.

Text line numbers appear in the left margin. A picture on its own line has a line number in the left margin. Tables don't take a line number. The setting is saved with the document, so Word shows the same line numbers.

## Table borders

To change the lines around table cells, click inside the table (or select several cells), open the **Table format** tab and choose **Borders**.

* Tick **Top**, **Bottom**, **Left** or **Right border** to draw that side of your selection. Untick a side to remove it. **Inside horizontal** and **Inside vertical** draw the lines between the selected rows or columns.
* **All borders**, **Outside borders**, **Inside borders** and **No borders** apply a whole set at once.
* Before you draw, pick the line under **Line style** (single, dashed, dotted, double or thick), **Line weight** and **Pen color**. Each side you draw uses that line.

A tick next to a side means your whole selection already has that line. To select a whole row or column first, right-click a cell and choose **Select row** or **Select column**.

On a narrow window, **Borders** is in the ⋯ menu at the end of the **Table format** tab.

## Things to know

* Exporting directly to PDF or PowerPoint from a `.docx` isn't supported yet. Export the `.docx`, then convert it in Word or another tool.
* In a shared project, editing can pause briefly while the document finishes syncing.
* Older, plain-text-only versions in version history may not restore with full visual fidelity. See [Version history](https://docs.papers.ai/writing-and-editing/version-history.md).
* On narrow screens, the **References** buttons show only their icons.

## Troubleshooting

<details>

<summary>The file won't load correctly</summary>

Confirm it's a valid `.docx` and try reopening it.

</details>

<details>

<summary>You can't edit a shared document</summary>

Check your role. Viewers can't edit.

</details>

<details>

<summary>Citations look stale</summary>

Use the citation refresh action in the toolbar.

</details>

<details>

<summary>Changes disappeared after switching tabs</summary>

Save or export before switching; unsaved edits can be lost otherwise.

</details>

## Next steps

* [Inserting images and figures](https://docs.papers.ai/writing-and-editing/inserting-images-and-figures.md)
* [Version history](https://docs.papers.ai/writing-and-editing/version-history.md)
* [Working with Markdown and MyST](https://docs.papers.ai/writing-and-editing/working-with-markdown-and-myst.md)
* [Working with LaTeX and Typst](https://docs.papers.ai/writing-and-editing/working-with-latex-and-typst.md)
