{"category":"documents","description":"Reads the text layer of a PDF and rebuilds its structure: lines are joined back into paragraphs, words split at line ends are mended, larger letters become headings, bullets and numbers become lists, and short cells that line up become tables. Made for giving a PDF to a language model.","endpoint":"https://setget.net/v1/tools/pdf-to-markdown","examples":[{"input":{"file":"sample.pdf"},"title":"A three-page PDF as Markdown"},{"input":{"file":"sample.pdf","page_breaks":true,"pages":"1-2"},"title":"Two pages, with page marks"}],"input_schema":{"additionalProperties":false,"properties":{"file":{"description":"The PDF to convert. It needs real text in it, not only scanned pages.","format":"setget-file","type":"string","x-accept":["pdf","binary","text"]},"page_breaks":{"default":false,"description":"Mark where each page starts with a line such as <!-- page 2 --> and a rule between pages.","type":"boolean"},"pages":{"description":"Pages to convert, such as 1-3, 7, 10-. Leave empty for all pages.","examples":["1-3"],"maxLength":200,"type":"string"}},"required":["file"],"type":"object"},"keywords":["pdf to markdown","pdf to md","pdf to text","convert pdf to markdown","extract text from pdf","pdf for llm","pdf for chatgpt","pdf to text for ai","read pdf","pdf parser","markdown from pdf"],"related":["ocr-pdf","any-to-markdown","docx-to-markdown","pdf-to-text","pdf-split","html-to-markdown"],"slug":"pdf-to-markdown","summary":"Turn a text PDF into clean Markdown: headings from letter size, joined paragraphs, lists and simple tables.","tier":"job","timeout_seconds":300,"title":"PDF to Markdown","url":"https://setget.net/tools/pdf-to-markdown"}
