Extract Text from PDF

Instantly extract text from PDFs using Nanonets
image of a green shield

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

Upload PDF File

Select a PDF from your computer, or just drag and drop into the upload box.

Extract Text from PDF

Our online converter automatically recognizes content in your PDF and extracts text from it.

Download Text

Download your converted TXT file within seconds. No signup required.

Transforming The way You Handle Data

ENSURE DATA ACCURACY WITH AI

Explore the Product ->
ORGANIZE WITH EASE

Know More ->
SAVE HOURS OF MANUAL EFFORTS

Streamlined and Automated Processes

  • Automatically sync extracted data with ERP systems like SAP, Oracle, Salesforce, and more
  • Easily customize workflow steps with drag-and-drop functionality, from data import to final export
  • Leverage pre-trained models for invoices, receipts, and legal reports to quickly start your workflow
Explore Solutions ->
Automatically Renaming Invoices

Explore other free tools by Nanonets

businesses love us

Automation stories straight from our
customers

Dennis Elder

Director of Product, PayGround

“There was a visible difference in how the app worked, and we were able to appeal to our customers by making it easy to pay bills”

Kale Flaspohler

Financial Advisor, ProPartners Wealth

“We are seeing a major difference in accuracy, as Nanonets provides a >95% accuracy which has helped cut down our processing time by ~50%.”

Catherine Gallagher

Accounts Payable, SaltPay

“Nanonets' direct integration with SAP helped SaltPay automate a crucial part of their Accounts Payable process”

Luke Faulkner

Product Manager, Tapi

“Tapi has been able to save 70% on invoicing costs, improve customer experience by turnaround of seconds from >6hrs and free up staff members from tedious work”

Ryan Hess

Head of Accounts Payable, ACM

"I have built a relationship with Nanonets which is an important ideal of ACM and it feels now as if they are part of the family."

Tay Kim

Product Operations Manager, Expatrio

"A great product and amazing customer support. Their response time was amazing. They went an extra mile to figure a plan that helps us scale our business."

4.9 Rating on Capterra
Nanonets is a leader in OCR on G2
High performer Summer
2024 by G2 Crowd
Users Love Us on G2
4.9 Rating on GetApp

Integrate in less than 30 seconds

Extract Text from PDF 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

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

Frequently Asked Questions

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