ByteScout PDF Extractor SDK - C# - PDF To JSON - ByteScout

ByteScout PDF Extractor SDK – C# – PDF To JSON

  • Home
  • /
  • Articles
  • /
  • ByteScout PDF Extractor SDK – C# – PDF To JSON

PDF to JSON in C# and ByteScout PDF Extractor SDK

How to use ByteScout PDF Extractor SDK for PDF to JSON in C#

ByteScout tutorials explain the material for programmers who use C#. ByteScout PDF Extractor SDK helps with PDF to JSON in C#. ByteScout PDF Extractor SDK is the Software Development Kit (SDK) that is designed to help developers with data extraction from unstructured documents like pdf, tiff, scans, images, scanned and electronic forms. The library is powered by OCR, computer vision and AI to provide unique functionality like table detection, automatic table structure extraction, data restoration, data restructuring and reconstruction. Supports PDF, TIFF, PNG, JPG images as input and can output CSV, XML, JSON formatted data. Includes full set of utilities like pdf splitter, pdf merger, searchable pdf maker.

The SDK samples like this one below explain how to quickly make your application do PDF to JSON in C# with the help of ByteScout PDF Extractor SDK. This C# sample code should be copied and pasted into your application’s code editor. Then just compile and run it to see how it works. Enjoy writing a code with ready-to-use sample C# codes to implement PDF to JSON using ByteScout PDF Extractor SDK.

ByteScout PDF Extractor SDK free trial version is available for download from our website. Free trial also includes programming tutorials along with source code samples.

On-demand (REST Web API) version:
 Web API (on-demand version)

On-premise offline SDK for Windows:
 60 Day Free Trial (on-premise)


using System; using System.Collections.Generic; using System.Text; using Bytescout.PDFExtractor; using System.Diagnostics; namespace ConsoleApplication1 { class Program { static void Main(string[] args) { // Create Bytescout.PDFExtractor.JSONExtractor instance JSONExtractor extractor = new JSONExtractor(); extractor.RegistrationName = "demo"; extractor.RegistrationKey = "demo"; // Load sample PDF document extractor.LoadDocumentFromFile("sample3.pdf"); extractor.SaveJSONToFile("output.json"); // Cleanup extractor.Dispose(); Console.WriteLine(); Console.WriteLine("Data has been extracted to 'output.json' file."); Console.WriteLine(); Console.WriteLine("Press any key to continue and open JSON in default viewer..."); Console.ReadKey(); ProcessStartInfo processStartInfo = new ProcessStartInfo("output.json"); processStartInfo.UseShellExecute = true; Process.Start(processStartInfo); } } }


60 Day Free Trial or Visit ByteScout PDF Extractor SDK Home Page

Explore ByteScout PDF Extractor SDK Documentation

Explore Samples

Sign Up for ByteScout PDF Extractor SDK Online Training


Get Your API Key

Explore Web API Docs

Explore Web API Samples