NewConnect Claude, Gemini, ChatGPT, and other AI agents to API Ninjas via our MCP server →

Files & Documents APIs

Unlock all APIs with a single API key - Get your free API key now

Convert PDF pages to JPG, PNG or WebP images, combine images into a PDF, and extract text from images and scanned documents.

Files & Documents

APIs for converting PDFs and images and reading the text in them.

Image to PDF

Live DemoNew

Convert JPG, PNG, WebP, GIF, TIFF or BMP images to one PDF, with fit-to-image, A4, Letter or Legal pages and margins. Each page counts as 10 API calls.

View docs  

Image to Text

Live Demo

State-of-the-art text detection and extraction from images.

View docs  

PDF to Image

Live DemoNew

Convert PDF pages to JPG, PNG or WebP images at up to 300 DPI, with each page's text. Each page counts as 10 API calls.

View docs