GroupDocs.Parser Overview

API for performing document parsing in .NET applications

Illustration parser

Extract data from documents

.NET API enables you to retrieve text, metadata, and images from a wide range of file formats such as Office documents, emails, attachments, and archives. This powerful tool helps you efficiently access and process valuable information contained within these files for various applications like data analysis, search engine indexing, or content management systems.

Parse documents

Extract various elements such as hyperlinks, tables, QR codes, barcodes and data from PDF forms. Also parse any desired information from documents using custom templates.

Customizing results

.NET API enables you to retrieve data in various formats such as raw, structured, HTML, or Markdown. Additionally, API offers a search functionality for locating specific words or phrases within the text of documents.

Platform independence

GroupDocs.Parser for .NET supports the following operating systems, frameworks and package managers

Amazon
Docker
Azure
VS Code
ReSharper
macOS
Linux
NuGet

Supported file formats

GroupDocs.Parser for .NET supports operations with the following file formats.

Microsoft Office formats

  • Word: DOCX, DOC, DOCM, DOT, DOTX, DOTM, RTF
  • Excel: XLSX, XLS, XLSM, XLSB, XLTM, XLT, XLTM, XLTX, XLAM, SXC, SpreadsheetML
  • PowerPoint: PPT, PPTX, PPS, PPSX, PPSM, POT, POTM, POTX, PPTM

Images & Other Formats

  • Portable: PDF
  • Images: JPG, BMP, PNG, TIFF, GIF
  • Other office formats: ODT, OTT, OTS, ODS, ODP, OTP, ODG

Other formats

  • Web: HTML, MHTML
  • Archives: ZIP, TAR, 7Z
  • Ebooks: CHM, EPUB, FB2, MOBI

GroupDocs.Parser features

Extract data from PDFs, Office Documents, and Images swiftly and accurately.

Feature icon

Extract text

Extract textual information from various file formats such as office documents, PDF files and images for easy readability and analysis.

Feature icon

Extract images

Retrieve visual content from diverse sources like office documents, PDF files for convenient access and use.

Feature icon

Scan QR Codes

Detect and decode QR codes present within office documents, PDF files, or visual content for efficient information retrieval.

Feature icon

Extract data from email attachments and archives

Gather valuable information from email messages, file attachments, and compressed data sources for effective analysis and utilization.

Feature icon

Extract tables

Identify and extract tabular data from PDF documents for organized analysis and use.

Feature icon

Extract hyperlinks

Locate and extract hyperlinks and email addresses within office documents or PDF files for efficient access .

Feature icon

Parse PDF Forms

PDF Forms are digital documents featuring fillable fields for user interaction, allowing them to input information electronically. .NET API can be utilized to extract data from these forms for efficient processing.

Feature icon

Parse data by templates

Create custom templates and utilize them with .NET API to parse specific information from PDF files, simplifying data extraction processes.

Feature icon

Search a text in documents

Quickly locate specific words or patterns within documents.

Code sample

Some use cases of typical GroupDocs.Parser for .NET operations

Extract images from PDF documents

.NET API makes it easy for C# developers to extract images from documents by implementing a few easy steps.

Extract images from PDF documents in C#

// Create an instance of Parser class
using (var parser = new Parser(fileName))
{
    // Extract images
    var images = parser.GetImages();

    // Check if images extraction is supported
    if (images != null)
    {
        var imageIndex = 0;

        // Iterate over images
        foreach (var image in images)
        {
            // Save the image to the file
            image.Save($"{++imageIndex}{image.FileType.Extension}");
        }
    }
}

Extract barcodes from images

.NET API makes it easy for C# developers to extract barcodes from documents by implementing a few easy steps.

Extract barcodes from images

// Create an instance of Parser class
using (var parser = new Parser(fileName))
{
    // Check if the file supports barcode extracting
    if (parser.Features.Barcodes)
    {
        // Extract barcodes from the file.
        var barcodes = parser.GetBarcodes();

        // Iterate over barcodes
        foreach (var barcode in barcodes)
        {
            // Print the page index
            Console.WriteLine("Page: " + barcode.Page.Index.ToString());
            // Print the barcode value
            Console.WriteLine("Value: " + barcode.Value);
        }
    }
}
 English