RAG.Parsers.Pdf 1.3.0-preview-070

This is a prerelease version of RAG.Parsers.Pdf.
There is a newer version of this package available.
See the version list below for details.
dotnet add package RAG.Parsers.Pdf --version 1.3.0-preview-070
                    
NuGet\Install-Package RAG.Parsers.Pdf -Version 1.3.0-preview-070
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="RAG.Parsers.Pdf" Version="1.3.0-preview-070" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="RAG.Parsers.Pdf" Version="1.3.0-preview-070" />
                    
Directory.Packages.props
<PackageReference Include="RAG.Parsers.Pdf" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add RAG.Parsers.Pdf --version 1.3.0-preview-070
                    
#r "nuget: RAG.Parsers.Pdf, 1.3.0-preview-070"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package RAG.Parsers.Pdf@1.3.0-preview-070
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=RAG.Parsers.Pdf&version=1.3.0-preview-070&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=RAG.Parsers.Pdf&version=1.3.0-preview-070&prerelease
                    
Install as a Cake Tool

RAG.Parsers

This library allow you to parse Word or Excel based documents towards a Markdown format

Library created in .NET which read the Word/Excel based documents with openXML/closedXML in order to write the equivalent file in markdown format.

==========

Onboarding Instructions

RAG.Parsers.Docx

Installation

  1. Add nuget package:

Install-Package RAG.Parsers.Docx

  1. In your application, you must instanciate a new DocxParser object, and call the method 'DocToMarkdown' with the path of your file to transform it to markdown string:

var docxParser = new DocxParser();
var filePath = Path.Combine(Environment.CurrentDirectory, "TestFiles/TestSample.docx");

var result = docxParser.DocToMarkdown(filePath);

result value :


My sample document
Creation Date:
Last Revised:
Version:1.0
## Index
### Sub Index 
#### Sub Sub Index
**Something bold**
*Something italic*
***Something*** ***bold in italic***
Something either **bold** OR *italic*
In **the** middle, [An hyperlink to ChatGPT](https://openai.com/chatgpt), but *nothing*
|First Cell header|||
|---|---|---|
||||Middle Cell 1|
|Middle Cell 2||||
||||Last Cell|

|-|-|-|-|
|---|---|---|---|
|Test1||||
|||||||
|||||||
||||||Test final|

RAG.Parsers.Xlsx

Installation

  1. Add nuget package:

Install-Package RAG.Parsers.Xlsx

  1. In your application, you must instanciate a new XlsxParser object, and call the method 'ExcelToMarkdown' with the path of your file to transform it to markdown string:

var xlsxParser = new XlsxParser();
var filePath = Path.Combine(Environment.CurrentDirectory, "TestFiles/TestSample.xlsx");

var result = xlsxParser.ExcelToMarkdown(filePath);

result value :


# Worksheet "First tab"

||A|B|C|D|E|F|G|H|I|J|
|---|---|---|---|---|---|---|---|---|---|---|
|**1**|This is a test|some cell filled||||||||||
|**3**||||||||||also here||
|**7**||||an other one here||||||||
|**12**|last one here|||||||||||

# Worksheet "An other tab"

||A|B|C|D|E|F|G|H|
|---|---|---|---|---|---|---|---|---|
|**1**|First cell in second tab|||||||||
|**3**||With a tab||||||||
|**4**||||Header first|Colonne2|Colonne3|Header last|||
|**16**||||||||toto||

Support / Contribute

If you have any questions, problems or suggestions, create an issue or fork the project and create a Pull Request.

You want more ? Feel free to create an issue or contribute by adding new functionnalities by forking the project and create a pull request.

And if you like this project, don't forget to star it !

You can also support me with a coffee :

"Buy Me A Coffee"

Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.6.0-preview-077 177 11/13/2025
1.5.0 167 10/29/2025
1.4.0 163 10/22/2025
1.4.0-preview-074 159 10/14/2025
1.4.0-preview-073 163 10/14/2025
1.4.0-preview-072 157 10/14/2025
1.3.0 168 10/1/2025
1.3.0-preview-070 267 9/30/2025
1.3.0-preview-069 164 9/29/2025
1.3.0-preview-068 161 9/29/2025
1.3.0-preview-067 169 9/25/2025
1.3.0-preview-065 278 9/24/2025
1.3.0-preview-064 213 8/4/2025
1.3.0-preview-063 201 8/4/2025
1.3.0-preview-062 204 8/4/2025
1.2.0 528 5/22/2025
1.2.0-preview-060 368 4/21/2025
1.2.0-preview-058 237 4/18/2025
1.2.0-preview-057 205 4/18/2025
1.2.0-preview-056 221 4/17/2025
1.2.0-preview-055 219 4/9/2025
1.2.0-preview-054 196 4/8/2025
1.2.0-preview-053 199 4/7/2025
1.2.0-preview-052 156 4/5/2025
1.1.0 373 2/1/2025
1.1.0-preview-050 130 2/1/2025
1.1.0-preview-048 198 1/29/2025
1.1.0-preview-047 118 1/17/2025
1.1.0-preview-046 119 1/17/2025
1.0.0 123 1/12/2025
1.0.0-preview-043 159 1/8/2025
1.0.0-preview-041 119 12/30/2024
1.0.0-preview-040 117 12/29/2024
1.0.0-preview-039 116 12/29/2024
1.0.0-preview-038 163 12/27/2024
1.0.0-preview-034 114 12/24/2024
1.0.0-preview-033 118 12/24/2024
1.0.0-preview-032 118 12/24/2024
1.0.0-preview-031 127 12/20/2024
1.0.0-preview-030 120 12/20/2024
1.0.0-preview-029 123 12/20/2024
1.0.0-preview-028 122 12/20/2024
1.0.0-preview-027 130 12/20/2024
1.0.0-preview-018 663 1/4/2024
1.0.0-preview-017 253 1/4/2024
1.0.0-preview-016 142 1/4/2024
1.0.0-preview-015 149 1/4/2024