Export OneNote Notebooks
Introduction
I want to keep my OneNote notebooks from work/school for future reference or whatever. This gist documents two methods that worked for me with their advantages and caveats.
Guide
Method 1
This is probably the easiest, but may take a while and involves downloading a bunch of large notebooks onto your device. For me, I ran into issues with one specific notebook as noted by Mark and Stryderis.
Prerequisites
You will need the Microsoft 365 version of OneNote on a desktop computer for this method. Make sure it isn't the OneNote for Windows 10 version.
Steps
- Click on the
File
tab and open every notebook you want to save. - With the first notebook selected, go to the
File
tab and look on the left for a tab namedExport
. - In the export menu, select
Notebook
to export the current notebook and then pick the output format. Personally, I picked the.onepkg
format. This is the best format if you want to view or edit a notebook OneNote in the future. - Press the export button and pick an output location. Wait. It may take a few minutes for large notebooks.
- Repeat for each notebook that you want to save.
- Make sure you test your saves. See the next section for information on opening them.
Opening .onepkg
To open notebooks exported using this method in the .onepkg
format, read on.
- In OneNote, within the
File
tab, find theOpen
tab. - Click on browse.
- Make sure the file type selector in the bottom right is set to
.onepkg
. - Fine your
.onepkg
notebook file. - Click open.
Method 2
This method is what I eventually settled on to export my class notebooks. This will not work for personal notebooks. For those, you can use the first method. Overall, I find this method to be faster and easier if you have a lot of class notebooks as I do. This method also has the advantage of not polluting your device with a bunch of large notebooks, as all the processing and exporting is done in the Cloud™.
Prerequisites
You will need a personal Microsoft account, which will be used for some temporary (or permanent) storage space.
Steps
- Go to the OneNote section of the Microsoft 365 suite, sign in with your work/school email, and click on the
Class Notebooks
tab. - Click on the three dots that appear when hovering over a notebook and press
Save Copy
. - A window will pop up. Select the
Save to a Microsoft Account
option.- See the notes on the
Save to your work/school account
option.
- See the notes on the
- Sign in to your personal Microsoft account.
- When presented with the modal asking if you want to copy the notebook to your Microsoft Account, press
Copy notebook
. - Repeat steps 2 to 5 for each notebook that you want to save.
- Head over to your personal OneDrive, sign in, and go the the
Documents
folder.- Do not access OneDrive via Windows Explorer. It will not work, as that only holds shortcuts, not the actual notebooks.
- Without selecting any of the notebooks, click the
Download
button at the top. - Now, wait. Go get a coffee, overthrow a tyrannical government, and check in with the progress once in a while.
- A zip with every notebook you selected should be downloaded. Inside the zip, each notebook should be a folder.
- If you want, delete the OneNote notebooks from your OneDrive.
- Make sure you test your saves. See the next section for information on opening them.
Opening
To open notebooks exported using this method, read on.
- In OneNote, within the
File
tab, find theOpen
tab. - Click on browse.
- Open the folder with the name of the notebook that you want to open.
- Inside, select the file named
Open Notebook.onetoc2
. - Click open. You may get a prompt describing that a notebook could not be found at this location. Click
Yes
and continue.
Notes
- As with all backups, please test the results by using the
Open
option in OneNote, if using a OneNote notebook format. - With method two, I couldn't get the
Save to your work/school account
option to work. I don't know why.
Credit
This gist is based on videos by Mike Tholfsen and GameCrafts, along with my own testing.