OneNote .one to Excel csharp

OneNote is a digital notebook where you can keep the information that matters. Record notes from meetings, share highlights or action items to share with your team or for later reference. Sometimes you might want to convert a OneNote file (.one) to an Excel worksheet in XLSX or XLS format. This article covers how to perform OneNote to Excel conversion in C#.

OneNote .one File to Excel Converter – C# API Installation

OneNote to Excel file conversion comprises two steps. Firstly, the OneNote file is rendered to PDF format and then the PDF file is converted to an Excel file using Aspose.PDF for .NET API. You can download the DLL files from the Downloads page, or install the APIs with the following NuGet installation commands:

PM> Install-Package Aspose.Note  
PM> Install-Package Aspose.PDF

Convert OneNote .one File to Excel File in C#

You can easily convert a OneNote .one file to an Excel worksheet in XLSX or XLS format by following the steps below:

  1. Create an object of the MemoryStream class.
  2. Load the input OneNote .one file with the Document class.
  3. Write the OneNote file in PDF format.
  4. Pass the intermediary PDF file to Aspose.PDF Document class.
  5. Convert the OneNote .one file to Excel file.

The code snippet below explains how to convert a OneNote .one file to Excel worksheet in C#:

Get Free Temporary License

You can evaluate the API without any evaluation limitations by requesting a Free Temporary License.


In conclusion, this article has covered how to convert a OneNote file to Excel format as XLS or XLSX file in C#. Moreover, you may learn other features to work with OneNote files by taking a look at the Documentation space. Please feel free to write to us at the forum in case you need to discuss any of your concerns.

See Also