PDF to Text Converter

More than 1000 enterprises convert images and PDF documents to actionable text with Nanonets

Data security comes first – We'll never sell or share your data. For more details, here’s our Privacy Policy

Upload Images or PDF Files

Select files from your computer, or just drag and drop into the upload box. Supports PDF, PNG, JPG files.

Extract Text from PDF

Our OCR tool automatically recognizes the content in your file and converts PDF into text format that you can then edit.

Download text file

Download your converted text file within seconds.

Take Nanonets for a Spin
Unlock the potential of your PDF documents with Nanonets' advanced PDF to text converter. Use advanced OCR API for automated lightning-fast PDF to text conversion with 98%+ accuracy.
Custom
Invoices
10M+ processed
Get Started
Receipts
8M+ processed
Get Started
Purchase Orders
11,22,400 processed
Get Started
Bank Statements
5M+ processed
Get Started
Bill of Lading
4M+ processed
Get Started
Tables / SKU
3M+ processed
Get Started
use cases

Try Nanonets Workflows for PDF to Text

How we compare

Why Nanonets PDF to Text is better ?

Traditional OCR Tools
Data Formatting
High savings
Nil or low training data
High training data
High training data
Receive documents from multiple channels
Amount of training data needed
Self-learning AI
No Template setup required
IT / API friendly
Multiple export options
Cost and Time Savings

We are impressed with the intelligence in the product when it comes to data extraction. This opens up for many new areas where we can help our customers, like detection of fraud. We have been having a tight and transparent dialogue with Nanonets. Our customers are very pleased with the product as well as the technical support we together with Nanonets have been able to provide.

Per Defalva

Founder, DigitalEngine (Sweden), ex-CIO PwC Sweden

we’re trusted by Developers across the world

High performer Spring 2021 by G2 Crowd

Users Love Us on G2

4.9 rating on Capterra

4.9 rating on GetApp

Convert PDF to Text using PDF OCR API

Copy integration code

Browse libraries for different programming languages and mobile platforms.

Choose your language

import requests import base64 url = "https://app.nanonets.com/api/v2/OCR/FullText" payload={'urls': ['MY_IMAGE_URL']} files=[ ('file',('FILE_NAME',open('FILE_PATH','rb'),'application/pdf')) ] headers = {} response = requests.request("POST", url, headers=headers, data=payload, files=files, auth=requests.auth.HTTPBasicAuth('REPLACE_API_KEY', '')) print(response.text)
var axios = require('axios'); var FormData = require('form-data'); var fs = require('fs'); var data = new FormData(); data.apend('urls','FILE_URL') data.append('file', fs.createReadStream('FILE_PATH')); var config = { method: 'post', url: 'https://app.nanonets.com/api/v2/OCR/FullText', headers: { 'Authorization': 'Basic ' + Buffer.from("REPLACE_API_KEY" + ":").toString('base64'), ...data.getHeaders() }, data : data }; axios(config) .then(function (response) { console.log(JSON.stringify(response.data)); }) .catch(function (error) { console.log(error); });
var axios = require('axios'); var FormData = require('form-data'); var fs = require('fs'); var data = new FormData(); data.apend('urls','FILE_URL') data.append('file', fs.createReadStream('FILE_PATH')); var config = { method: 'post', url: 'https://app.nanonets.com/api/v2/OCR/FullText', headers: { 'Authorization': 'Basic ' + Buffer.from("REPLACE_API_KEY" + ":").toString('base64'), ...data.getHeaders() }, data : data }; axios(config) .then(function (response) { console.log(JSON.stringify(response.data)); }) .catch(function (error) { console.log(error); });
var client = new RestClient("https://app.nanonets.com/api/v2/OCR/FullText"); client.Timeout = -1; var request = new RestRequest(Method.POST); request.AddHeader("Authorization", "Basic " + Convert.ToBase64String(Encoding.Default.GetBytes("REPLACE_YOUR_API_KEY:"))); request.AddFile("file", "FILE_PATH"); IRestResponse response = client.Execute(request); Console.WriteLine(response.Content);
curl --location --request POST 'https://app.nanonets.com/api/v2/OCR/FullText' \ -u 'REPLACE_API_KEY:' \ --form 'file=@"FILE_PATH"'
Get your free API key

Once you create your account, click on My Account > API Keys to get your key. This key will allow you to authenticate API requests.

1abcd000-ABCab1BCd00a00abc1AbcDeF
Get API Key
Want to Use our Python Package ?

Our Python Library gives you added control and options to perform OCR and extract text and tabular results in desired formats instantly.

Python Library

Security certifications

Security is a priority at Nanonets

World Class Training and Support
Highest security standards
99.95% Uptime
Strict Privacy Policies
GDPR
COMPLIANT
SOC 2
CErtified
HIPPA
COMPLIANT

Key Features

User-friendly online OCR interface
Convert .jpg, .bmp, .png or .PDFs to text
No registration or signup needed
Free, low latency OCR API with unlimited requests
State of the art OCR accuracy - best in class
Supports 42+ languages for text recognition
Secure conversion - all data is removed
Over 1 billion requests processed

Suggested Resources

Blog Post

How to convert images to text? : 3 ways to extract text from images

Blog Post

How To Convert Scanned PDF To Word Online?

Blog Post

How to Convert PDF Images to Text online?

Blog Post

How to convert PDF to Word?

PDF to Text OCR FAQs

Can I convert documents and images to Excel ?
Can I integrate your PDF to Text API in code?