How to replace text from PDF in cURL using PDF.co Web API

What is PDF.co Web API? It is the flexible Web API that includes full set of functions from e-signature requests to data extraction, OCR, images recognition, pdf splitting and pdf splitting. Can also generate barcodes and read barcodes from images, scans and pdf.

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

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

ReplaceText.cmd

      
curl --location --request POST 'https://api.pdf.co/v1/pdf/edit/replace-text' \ --header 'x-api-key: {{x-api-key}}' \ --form 'url=https://bytescout-com.s3.amazonaws.com/files/demo-files/cloud-api/pdf-split/sample.pdf' \ --form 'name=finalFile' \ --form 'caseSensitive=true' \ --form 'searchString=onspicuous feature' \ --form 'replaceString=Replaced1'

VIDEO

ON-PREMISE OFFLINE SDK

Get 60 Day Free Trial

See also:

ON-DEMAND REST WEB API

Get Your API Key

See also: