# switchfile > switchfile turns PDFs into Excel, Word, Markdown, and JSON. People get Office files they can edit, and agents get Markdown and JSON they can read. Numbers in tables arrive as numbers. It also converts video, audio, images, documents, spreadsheets, presentations, ebooks, fonts and archives. It has a web converter and an HTTP API that also accepts CloudConvert v2 jobs, and MCP servers for assistants and coding agents. Files are processed and stored in the EU and deleted after 24 hours. The API accepts CloudConvert v2 jobs, so an integration built for CloudConvert switches by changing the base URL and the API key. Through the API, a file can also be converted without being stored (https://switchfile.io/docs/no-store.md). switchfile converts PDF to Excel, Word, PowerPoint and Markdown with its own engine, which we built ourselves. We measured PDF to Office against other online converters on 346 public PDFs we had never used. [PDF to Office benchmark](https://switchfile.io/benchmarks/pdf-to-office) In our open benchmark of PDF to Markdown on 160 business PDFs, switchfile put 93.8 % of the numbers in the right table cell (mean per PDF with numeric table cells, n = 102 of 160, 95 % interval 90.5 to 96.7), the highest of the five converters selected for this comparison, measured by us on 16 November 2026. One more open-source tool in the benchmark repository scored higher than the selected open-source tools and is left out of this comparison. The documents, every output and the scoring code are public. [PDF to Markdown benchmark](https://switchfile.io/benchmarks/pdf-to-markdown) Free accounts convert 20 files a day. More conversions use credits from a monthly plan or a credit pack (500 to 1,000,000 credits from €7, paid once), both at https://switchfile.io/pricing. Monthly plans renew every month and can be cancelled at any time. API requests need an API key from https://switchfile.io/dashboard/keys, sent as `Authorization: Bearer `. Agents without a browser get a key over the API: `POST https://api.switchfile.io/v1/signup` with `{"email": "...", "accept_terms": true}` emails a one-time code, then `POST https://api.switchfile.io/v1/signup/verify` with the email, the code and `"accept_terms": true` returns the key. Details: https://switchfile.io/docs/authentication.md Credits follow the conversion time: one credit per started minute. Each conversion costs at least 1 credit, and converting Office files or ebooks to PDF costs at least 2 credits. Converting a PDF to an Office file costs at least 2 credits. At the credit pack price (1,000 credits for €13) one credit costs €0.013, so the cheapest conversion costs €0.013 and an Office file to PDF at least €0.026. For comparison, CloudConvert sells a package of 1,000 credits for €17.85 (source: https://api.cloudconvert.com/v2/plans/package/1000, checked 7 November 2026); both prices include VAT. More prices with sources: https://switchfile.io/compare. Measured on 17 November 2026 with public PDFs: PDF to Excel (1 to 56 pages) took 0.5 to 18 s and cost 2 credits; PDF to Word (1 to 56 pages) took 0.9 to 221 s and cost 2 to 4 credits. Table with euro prices and CloudConvert for comparison: https://switchfile.io/pricing#pdf-costs Docs pages are linked as Markdown; without `.md` the same address shows the HTML page. ## Docs - [Full docs in one file](https://switchfile.io/llms-full.txt): the whole documentation as one Markdown text, to give to a language model - [API docs](https://switchfile.io/docs.md): guides for the simple API (v1) and CloudConvert-compatible jobs (v2) - [Quickstart](https://switchfile.io/docs/quickstart.md): convert a first file with one request - [Migrate from CloudConvert](https://switchfile.io/developers/migrate-from-cloudconvert): what to change in a CloudConvert v2 integration, with code for curl, Node.js, PHP and Python - [API reference](https://switchfile.io/docs/reference.md): every endpoint with parameters and responses, with examples - [PDF accessibility checks](https://switchfile.io/docs/reference/post-v1-accessibility-checks.md): check a PDF against the machine-checkable criteria of PDF/UA; the result counts the criteria met, lists the problems with steps to fix them, and always needs a manual review - [Website capture](https://switchfile.io/docs/capture-website.md): save a public web page as a PDF or an image, 1 credit per capture - [OpenAPI](https://switchfile.io/openapi.json): OpenAPI 3.0 description of the API - [API catalog](https://switchfile.io/.well-known/api-catalog): RFC 9727 linkset with the OpenAPI description, the docs and the status endpoint - [Webhooks](https://switchfile.io/docs/webhooks.md): webhook events and how to check their signature - [Errors](https://switchfile.io/docs/errors.md): every error code with its HTTP status - [Formats and options](https://switchfile.io/docs/formats.md): options per target format with allowed values and defaults - [Convert PDF to Word in Python](https://switchfile.io/docs/pdf-to-word-python.md): a script that converts one PDF or a folder of PDFs to DOCX with the Python SDK - [Extract tables from PDFs in Python](https://switchfile.io/docs/extract-pdf-tables-python.md): tables of a PDF as rows and cells with typed numbers, one pandas DataFrame per table - [Open WebUI](https://switchfile.io/docs/open-webui.md): content extraction engine for Open WebUI; documents arrive as Markdown with their tables - [MCP and agents](https://switchfile.io/docs/mcp.md): hosted MCP server at https://mcp.switchfile.io/mcp for Claude and ChatGPT (sign-in with the switchfile account), and the npm package `switchfile-mcp` for coding agents - [MCP server card](https://switchfile.io/.well-known/mcp/server-card.json): JSON with the server address, sign-in, npm package and tools - [Supported formats](https://api.switchfile.io/v1/formats): JSON list of every input format with its targets and minimum credits, no key needed ## SDKs and CLI - [Node.js SDK and CLI](https://switchfile.io/developers#sdk-node): `npm install switchfile`. From the command line, `npx switchfile convert talk.mkv --to mp4` converts a file with `SWITCHFILE_API_KEY` set. Coming from the CloudConvert SDK: import Switchfile instead of CloudConvert and pass your switchfile key. - [Python SDK](https://switchfile.io/developers#sdk-python): `pip install switchfile-sdk`. Coming from the CloudConvert SDK: import switchfile as cloudconvert and pass your switchfile key. - [PHP SDK](https://switchfile.io/developers#sdk-php): `composer require switchfile/switchfile-php`. Coming from the CloudConvert SDK: change the namespace to Switchfile and pass your switchfile key. - [MCP server for coding agents](https://switchfile.io/docs/mcp.md): `npx -y switchfile-mcp` starts the local MCP server with `SWITCHFILE_API_KEY` set; it converts local files and saves the result next to the input. `npx -y switchfile-mcp convert talk.mkv --to mp4` converts a file without an agent. ## Pricing - [Pricing](https://switchfile.io/pricing): free quota and the prices of credit packs and monthly plans - [Compare converters](https://switchfile.io/compare): prices and limits of CloudConvert, Convertio, FreeConvert and Zamzar next to switchfile, with sources - [PDF to Excel converters compared](https://switchfile.io/pdf-to-excel-converters): which tool for which PDF, ten tools side by side with a source for each fact; measured on 100 public PDFs: switchfile 73.4, CloudConvert 63.3, FreeConvert 53.7 of 100, the others not measured ## Benchmark - [PDF to Office benchmark (Markdown)](https://switchfile.io/benchmarks/pdf-to-office.md): PDF to Word: switchfile ahead of CloudConvert by 2.8 and FreeConvert by 2.6 points. PDF to Excel: switchfile ahead of CloudConvert by 10.0 and FreeConvert by 19.7 points. PDF to PowerPoint: switchfile level with CloudConvert and FreeConvert. Test files drawn by script from public archives, kept apart from the files we develop on and never looked at. With looks at half the score, the overall verdicts per format stay as in the main result except PowerPoint against FreeConvert, better instead of same quality. The rows for scans only were not recomputed. CloudConvert ran with its default settings, except for Excel, where its option for text outside tables (non_table_content) was on; the page lists its options and a run with them. Where CloudConvert does better: Word: On the 38 scanned files it scores 86.2 on editing, against 76.2 for switchfile. Opened in Microsoft Word, its result had the same number of pages as the PDF in 149 of 150 files, ours in 137. We are working on the page count. On 20 of our practice files with prioritize_visual_appearance and connect_hyphens on, its files look closer to the PDF than ours (76.2 against 70.8), while editing drops to 34.9. We work on one job, digital PDFs with tables turned into files you can edit, and check every change on files we never develop on; a general converter has to serve every kind of document. Tables and layout come from our own engine without machine-learning models; text recognition runs only where a PDF holds no readable text, as in scans. - [PDF to Word benchmark](https://switchfile.io/benchmarks/pdf-to-office#docx): switchfile 81.5, CloudConvert 78.7, FreeConvert 78.9 of 100 on 146 public PDFs never used before (38 scans); switchfile engine aa7d2c70 measured 2026-11-17, CloudConvert version 12.2.0. First measurement on 16 November 2026, with the engine live then (f1282efb): switchfile 79.5, CloudConvert 78.7, FreeConvert 78.9, level with CloudConvert and FreeConvert. Method, limits and corrections on the page - [PDF to Excel benchmark](https://switchfile.io/benchmarks/pdf-to-office#xlsx): switchfile 73.4, CloudConvert 63.3, FreeConvert 53.7 of 100 on 100 public PDFs never used before (25 scans); switchfile engine f1282efb measured 2026-11-16, CloudConvert version 12.2.0. Method, limits and corrections on the page - [PDF to PowerPoint benchmark](https://switchfile.io/benchmarks/pdf-to-office#pptx): switchfile 85.9, CloudConvert 85.9 on 62 of the 100 files, FreeConvert 85.1 of 100 on 100 public PDFs never used before (25 scans); switchfile engine f1282efb measured 2026-11-16, CloudConvert version 12.2.0. Method, limits and corrections on the page - [PDF to Markdown benchmark](https://switchfile.io/benchmarks/pdf-to-markdown.md): In our public benchmark of 160 business PDFs, switchfile put 93.8 % of the numbers in the right table cell, the highest-scoring open-source tool selected for this comparison 67.9 %, as a mean per PDF with numeric table cells (n = 102 of 160). One more open-source tool in the benchmark repository scored higher than the selected open-source tools and is left out of this comparison. Measured by us on 16 November 2026, digital PDFs only. Intervals, corrupted numbers, method and limits on the page; data and scoring code on GitHub ## Optional - [Developers](https://switchfile.io/developers): overview of the API and CloudConvert compatibility - [Best PDF table extraction APIs and tools in 2026, measured](https://switchfile.io/best-pdf-table-extraction-apis.md): open-source tools and APIs ranked only by measured values from our open table benchmark and our blind test against online services, with criteria, sources, prices and licenses - [Security](https://switchfile.io/security): where files are processed, when they are deleted and how to report a vulnerability - [GDPR and EU processing](https://switchfile.io/gdpr-file-conversion): switchfile converts and stores files in the EU and deletes them 24 hours after the conversion. Through the API you can convert without storage (store=false), and we sign a DPA under Art. 28 GDPR on request. - [DPA on request](https://switchfile.io/security#dpa): We sign a data processing agreement (DPA) under Art. 28 GDPR on request. Write to hello@switchfile.io. - [PDF to Excel API](https://switchfile.io/pdf-to-excel-api.md): convert PDF tables to Excel workbooks through the API, processed in the EU, with a mode that does not store files - [API use cases](https://switchfile.io/developers/use-cases): overview of the developer pages for single tasks - [n8n integration](https://switchfile.io/n8n): verified n8n node `n8n-nodes-switchfile`, available on n8n Cloud. It converts files and URLs in workflows and starts workflows when a conversion finishes - [PDF accessibility checker API](https://switchfile.io/pdf-accessibility-api.md): check PDFs against the machine-checkable criteria of PDF/UA-1 or PDF/UA-2 and get a JSON report with affected pages and fix steps - [HTML to PDF API](https://switchfile.io/html-to-pdf-api.md): HTML and Markdown files to PDF with paper size and margins. - [Office to PDF API](https://switchfile.io/office-to-pdf-api.md): Office documents to PDF, also as PDF/A for archives. - [PDF to Word API](https://switchfile.io/pdf-to-word-api.md): PDFs to editable Word documents, scanned pages included. - [OCR API](https://switchfile.io/ocr-api.md): Scanned PDFs to editable Word documents or Markdown with text recognition. - [PDF table extraction API](https://switchfile.io/pdf-table-extraction-api.md): Tables from PDFs as JSON rows and cells, with numbers as typed values. - [Image conversion API](https://switchfile.io/image-conversion-api.md): HEIC, WebP, AVIF and other images, resized and compressed in one request. - [Video conversion API](https://switchfile.io/video-conversion-api.md): Videos to MP4 and other formats, with size and quality set per request. - [Audio conversion API](https://switchfile.io/audio-conversion-api.md): Audio files and the sound of videos to MP3, WAV, FLAC and more. - [Website screenshot API](https://switchfile.io/website-screenshot-api.md): Screenshots of a whole web page or only its first screen. - [URL to PDF API](https://switchfile.io/url-to-pdf-api.md): Web pages or your own HTML saved as PDF with paper size and margins. - [All conversions](https://switchfile.io/convert): converter pages for each pair of formats - [PDF to Markdown](https://switchfile.io/pdf-to-md): read a PDF or a scanned document as Markdown with headings and tables, without running headers or page numbers - [PDF to Markdown API](https://switchfile.io/pdf-to-markdown-api.md): PDF and Office files to Markdown for LLM and RAG pipelines through the API, with pipe tables and page markers, processed in the EU - [Save a website as PDF](https://switchfile.io/tools/save-website-as-pdf): capture a public web page as a PDF in the browser, no account needed - [Website screenshot](https://switchfile.io/tools/website-screenshot): capture a whole web page as one PNG or JPG image