.ONETOC2

ONETOC2 File

Microsoft OneNote Table of Contents File
Ask a question
QUICK ANSWER

A .onetoc2 file is an index file that Microsoft OneNote automatically creates in every local notebook folder. It records the names and display order of the .one section files in that notebook. You do not open or edit it directly - OneNote manages it automatically. If you see one, a OneNote notebook folder is nearby.

Developer: Microsoft Corporation Category: Settings Files MIME: application/msonenote
OPENS ON Windows macOS Android iOS Web
Related: .ICA · .DS_STORE · .WMZ · .CFG

On this page

19k+ extensions indexed
Last reviewed Aug 4, 2026

Not sure what your file is?

Drop any file into our identifier - we read just the first bytes to name the format.

Identify a file

What is the ONETOC2 file format?

.onetoc2 is a binary metadata file automatically created and managed by Microsoft OneNote to index the contents of a local notebook folder. It is not a note file - it records which .one section files belong to the notebook, their display names, internal GUIDs and the order in which they appear in the OneNote navigation panel.

Introduced with OneNote 2010 to replace the older .onetoc format (used in OneNote 2003-2007), .onetoc2 uses the OneNote Revision Store binary format documented by Microsoft in the [MS-ONE] open specification. The file begins with a 16-byte GUID signature and a 1 KB header block containing version information and pointers to file node lists that index the notebook's sections.

OneNote regenerates a missing or corrupted .onetoc2 automatically. Users should not edit or delete it manually - doing so breaks notebook navigation until the file is rebuilt. The file grows modestly with the number of sections in the notebook and inherits optional password encryption if the notebook is protected.

On OneDrive and SharePoint, OneNote uses a different cloud-native storage format; .onetoc2 files are specific to locally stored notebooks and SharePoint-based notebook libraries.

Security & safety

RISK: LOW

.onetoc2 files are auto-generated index metadata. They pose no security risk in normal use. If received in email, it is unusual and meaningless without the accompanying .one section files. Microsoft OneNote notebooks CAN contain embedded scripts or macros in .one sections, but the .onetoc2 file itself is purely structural metadata.

Format details

in a nutshell
FULL NAMEMicrosoft OneNote Table of Contents Fileaka OneNote TOC file, OneNote notebook index
DEVELOPERMicrosoft Corporationsince 2010 (OneNote 2010 introduced .onetoc2; replaces legacy .onetoc)
MIME TYPEapplication/msonenote
TYPEbinary metadata/index file (OneNote revision store variant)
MAGIC BYTES · FILE SIGNATURE
OFFSET
000102030405060708090a0b0c0d0e0f
HEX
E4525C7B8CD8A74DAEB15378D02996D3
ASCII
·R\{···M··Sx·)··
16-byte GUID {7B5C52E4-D88C-4DA7-AEB1-5378D02996D3} identifies it as a OneNote revision store file. The .onetoc2 TOC GUID is {109ADD3F-911B-49F5-A5D0-1791EDC8AED8} stored in the header.

Programs that open ONETOC2 files

Windows2 apps
Microsoft OneNote Freemium Open the parent notebook folder in OneNote (File > Open Notebook), not the .onetoc2 file directly. OneNote reads it automatically.
Microsoft Office Paid OneNote is included in Microsoft 365 / Office suites. Open via OneNote application; the .onetoc2 file is read automatically when opening the notebook folder.
macOS1 app
Microsoft OneNote (macOS) Freemium Open the notebook folder via File > Open Notebook. OneNote for Mac handles .onetoc2 automatically.
Android1 app
Microsoft OneNote (Android) Freemium Open the synced notebook via OneDrive; the .onetoc2 file is managed automatically in the background.
iOS1 app
Microsoft OneNote (iOS) Freemium Sync via OneDrive; .onetoc2 is handled automatically.
Web1 app
OneNote Online (Microsoft 365) Freemium For cloud-synced notebooks; .onetoc2 is managed server-side. Access notebooks via browser.

Technical details

deep spec
Magic bytes16-byte GUID {7B5C52E4-D88C-4DA7-AEB1-5378D02996D3} at offset 0
TOC GUID{109ADD3F-911B-49F5-A5D0-1791EDC8AED8} in header (identifies the file as a TOC rather than a section)
ContainerOneNote Revision Store binary format (Microsoft MS-ONE specification)
EncodingBinary, little-endian
StoresGUIDs, display names and display ordering of .one section files within the notebook folder
CompressionNone (index data stored uncompressed)
EncryptionOptional; inherits notebook password protection if the notebook is password-protected
Typical size2 KB - 50 KB (grows modestly with number of notebook sections)
IntegrityCRC per file node block; revision history tracked in the revision store
Replaces.onetoc legacy format (OneNote 2003-2007)
MIME typeapplication/msonenote
BehaviorAuto-created and rebuilt by OneNote; manual editing or deletion breaks notebook navigation
Released2010 (OneNote 2010 introduced .onetoc2; replaces legacy .onetoc)
Latest versionRevision Store format as documented in [MS-ONE] v20231129
Specificationlearn.microsoft.com

ONETOC2 conversions

Community Q&A

asked by users
Ask a quick question
Get help from people who work with ONETOC2 files. Be specific - include your system and software version.
No account needed · answers usually within a day

No questions yet - be the first to ask about ONETOC2 files.

Frequently asked questions

What is a .onetoc2 file?
It is the table-of-contents index file that Microsoft OneNote automatically creates in each notebook folder. It records which .one section files belong to the notebook and their display order. You do not need to open or edit it.
Can I delete .onetoc2 files?
Technically yes, but you shouldn't - OneNote uses it to navigate your notebook sections. If deleted, OneNote recreates it automatically when you next open the notebook.
How do I open a .onetoc2 file?
You don't open it directly. Open the containing notebook folder in Microsoft OneNote (File > Open Notebook). OneNote reads the .onetoc2 file automatically in the background.
Why is there a .onetoc2 file in my folder?
Because that folder is (or was) a Microsoft OneNote notebook. The .onetoc2 file was created automatically by OneNote.
Can I open .onetoc2 without Microsoft OneNote?
No practical viewer exists for .onetoc2. However, the format is documented in Microsoft's open specification [MS-ONE] on learn.microsoft.com. The free OneNote app (Microsoft Store, Android, iOS) can open OneNote notebooks.
My notebook sections are out of order after moving the folder - how do I fix it?
The .onetoc2 file may be missing or stale. Reopen the notebook in OneNote - it should regenerate the .onetoc2 and restore section order.

References

1[MS-ONE]: Table of Contents structure - Microsoft Learnlearn.microsoft.com
2Microsoft Blog: Other OneNote file types - TOClearn.microsoft.com

Keep exploring

across the database

Top extensions this week

1.AQQAQQ Instant Messenger File
2.CRDOWNLOADChrome Partial Download File
3.PARTPartial Download File
4.BINCD/DVD Disc Image (BIN/CUE)
5.RPMSGRestricted Permission Message
6.MDMarkdown Document
7.NOMEDIAAndroid No-Media Marker File
8.EXEWindows Executable (Portable Executable)
9.PRO6XProPresenter 6 Bundle File
10.PRDXSoftMaker Presentations Document

Related extensions

.ICACitrix Independent Computing Architecture file
.DS_STOREmacOS Finder Desktop Services Store (.DS_Store)
.WMZWindows Media Player Skin
.CFGConfiguration File
.LICLicense File
.CONFConfiguration File

Free file tools

An in-browser file identifier and image converter - everything runs on your device.

Open the toolbox

Browse file extensions A-Z