Others

Fix the OneNote Error When Exporting a Single-File Package

Aamir Naveed AkramAamir Naveed Akram Nov 3, 2026 868 views

Question details

The user needs to resolve an export failure in OneNote where attempting to save a notebook as a single-file package results in a specific file creation error.

How to Fix the OneNote Error When Exporting a Single-File Package
Product
Microsoft OneNote
Device & OS
Windows 11
Scenario
Exporting a complete OneNote notebook as a single-file package (.onepkg) for backup or offline sharing.
Observed behavior
OneNote fails to export the notebook and displays a 'We cannot create |0' error message, improperly substituting the file name with restricted characters despite sufficient storage and permissions.
Before you start

Ensure you are logged into Windows with an administrator account and that you have sufficient disk space on your local drive to accommodate the size of the entire exported notebook.

Solution 1Recommended

Verify File Names and Use a Short Export Path

Invalid characters in the notebook name or excessively long directory paths can trigger export errors in Windows.

Windows OS strictly prohibits the use of certain symbols in file names, including the vertical bar or pipe symbol (|). Ensure your notebook's name uses standard alphanumeric characters before attempting the export again.

1
Rename the Notebook

Open OneNote, right-click the notebook name in the sidebar, and select 'Properties' to ensure the Display Name contains no illegal symbols (like < > : " / \ | ? *).

2
Initiate Export

Click on 'File' in the top ribbon, select 'Export', then choose 'Notebook' under 'Export Current'.

3
Select Package Format

Select 'OneNote Package (*.onepkg)' as the file format and click the 'Export' button.

4
Choose a Local Directory

In the Save As dialog, select a simple local folder with a short path, such as 'C:\Exports' or your Desktop, rather than a deeply nested subfolder.

Verify File Names and Use a Short Export Path
Export Successful: Saving directly to a root or high-level local directory bypasses Windows path-length restrictions and typical sync folder permission blocks.
Free Microsoft Office alternative

Try WPS Office for Your Document Needs

While OneNote is tailored for digital notebooks, WPS Office offers a comprehensive, lightweight suite for your essential documents, spreadsheets, and presentations. Enjoy excellent performance and full compatibility without subscription fees.

Fully compatible with Microsoft Word, Excel, and PowerPoint formats (.docx, .xlsx, .pptx)Lightweight application that runs smoothly on older Windows hardwareFamiliar, tabbed user interface allowing for an easy and seamless migrationBuilt-in robust PDF editing and conversion toolkit
microsoft office alternative - wps office

Frequently Asked Questions

Why does OneNote say 'We cannot create |0' during export?

This error typically occurs when the application tries to save the export file using characters that Windows natively prohibits in file paths, specifically the vertical bar or pipe symbol (|).

Can I export a OneNote notebook as a package on a Mac?

No, the feature to export an entire notebook as a single-file package (.onepkg) is exclusively available in the desktop version of OneNote for Windows. Mac users must export individual pages as PDFs.

Where is the best place to save an exported OneNote package?

It is strongly recommended to save the exported package to a local drive with a short file path, such as your Desktop or Documents folder, to avoid network permission issues and maximum file path length limits.

Will resetting OneNote delete all of my notebooks?

Resetting the OneNote app clears local offline caches and unsynced data but does not delete notebooks stored securely in your OneDrive. Always ensure your notebooks are fully synced to the cloud before executing a reset.