📄➡️📝 PDF to Markdown

Extract text from a PDF and convert it to clean Markdown — useful for editing PDF content as plain text.

📤 Drag a PDF here or click to choose

ℹ️ About This Tool

A PDF locks its text into a fixed visual layout that's great for reading and printing but awkward to edit — there's no easy way to copy a PDF's content into a note-taking app, a GitHub README, or a blog draft without losing all the original formatting and ending up with a jumbled wall of text. This tool extracts a PDF's text and reconstructs it as Markdown, the simple plain-text format used by GitHub, most note apps, and many blogging platforms, so the content becomes editable again.

The tool reads through each page and looks at relative font sizes to make a reasonable guess at structure — text that's noticeably larger than the surrounding body text is treated as a heading and prefixed with # symbols, while normal-sized text becomes regular paragraphs. This kind of automatic detection is inherently approximate since a PDF doesn't store an explicit "this is a heading" tag the way a Word document or webpage might, so it's always worth skimming the output afterward and tidying up any headings or line breaks that weren't guessed correctly.

How to use:

  1. Upload a PDF.
  2. The extracted Markdown appears in the text box — review and edit it if needed.
  3. Copy it directly, or download it as a .md file.

What to expect

Plain paragraphs and simple structure convert cleanly in most cases, but PDFs with complex multi-column layouts, tables, or heavily styled text will need more manual cleanup afterward, since pdf.js extracts text in roughly reading order but cannot always know exactly how a sophisticated layout should map to simple Markdown. For straightforward documents like reports, articles, or notes that were originally just plain text exported to PDF, the conversion is usually very close to ready-to-use.

This tool is particularly useful when you've received a PDF report, an old document, or a printed-then-scanned-back-to-PDF file and want to bring its content into a note-taking app, a wiki, or a GitHub repository where Markdown is the expected format. Rather than retyping the whole document by hand, the extraction gives you a solid first draft that's usually faster to clean up than starting from a blank page. Since the output appears directly in an editable text box on this page, you can fix any misdetected headings, merge split paragraphs, or remove a stray page marker before copying or downloading the final Markdown file, all without leaving your browser.


ℹ️ इस टूल के बारे में

PDF अपने text को एक fixed visual layout में बंद कर देती है जो पढ़ने और print करने के लिए अच्छा है पर edit करने के लिए मुश्किल — किसी note-taking app, GitHub README, या blog draft में PDF का content copy करने का कोई आसान तरीका नहीं होता बिना original formatting खोए और text की गड़बड़ दीवार बने बिना। यह tool PDF के text को निकालकर उसे Markdown के रूप में दोबारा बनाता है, वह simple plain-text format जो GitHub, ज़्यादातर note apps, और कई blogging platforms इस्तेमाल करते हैं, ताकि content फिर से edit करने लायक बने।

Tool हर page को पढ़ता है और structure का सही अंदाज़ा लगाने के लिए relative font sizes देखता है — जो text आस-पास के body text से काफ़ी बड़ा होता है उसे heading मानकर # symbols लगा दिए जाते हैं, जबकि सामान्य size का text regular paragraphs बन जाता है। इस तरह की automatic detection स्वाभाविक रूप से approximate होती है क्योंकि PDF में Word document या webpage की तरह "यह एक heading है" जैसा कोई explicit tag नहीं होता, इसलिए बाद में output को एक बार देख लेना और गलत अंदाज़े वाले headings या line breaks को ठीक करना हमेशा बेहतर रहता है।

इस्तेमाल कैसे करें:

  1. एक PDF अपलोड करें।
  2. निकाला हुआ Markdown text box में दिखेगा — ज़रूरत हो तो देखें और edit करें।
  3. सीधे copy करें, या .md file के रूप में download करें।

क्या उम्मीद रखें

Plain paragraphs और simple structure ज़्यादातर मामलों में साफ़ convert होते हैं, पर complex multi-column layouts, tables, या भारी styled text वाली PDFs को बाद में ज़्यादा हाथ से ठीक करना पड़ेगा, क्योंकि pdf.js text को लगभग reading order में निकालता है पर हमेशा यह नहीं जान सकता कि कोई जटिल layout simple Markdown में कैसे fit होना चाहिए। सीधे-सादे documents जैसे reports, articles, या notes जो शुरू में plain text थे और PDF में export किए गए, उनके लिए conversion आमतौर पर इस्तेमाल के लिए लगभग तैयार होता है।

यह tool खासकर तब उपयोगी है जब आपको कोई PDF report, पुराना document, या print करके फिर scan किया गया PDF मिला हो और उसके content को किसी note-taking app, wiki, या GitHub repository में लाना हो जहां Markdown ही expected format है। पूरे document को हाथ से दोबारा टाइप करने की बजाय, extraction एक ठोस पहला draft देता है जिसे शुरुआत से लिखने से ज़्यादा तेज़ी से ठीक किया जा सकता है। चूंकि output इसी page पर एक editable text box में दिखता है, copy या download करने से पहले किसी गलत पहचाने गए heading को ठीक कर सकते हैं, टूटे हुए paragraphs को जोड़ सकते हैं, या किसी अनचाहे page marker को हटा सकते हैं, वह भी बिना browser छोड़े।

Frequently Asked Questions | अक्सर पूछे जाने वाले प्रश्न

Q. Is my PDF uploaded anywhere to do this conversion? | क्या यह conversion करने के लिए मेरी PDF कहीं अपलोड होती है?
No — pdf.js reads the file and the Markdown is built entirely in your browser; the PDF never leaves your device. | नहीं — pdf.js फ़ाइल को पढ़ता है और Markdown पूरी तरह आपके browser में बनता है; PDF कभी आपके device से बाहर नहीं जाती।

Q. How accurate is the heading detection? | Heading detection कितना सटीक है?
It's approximate — headings are guessed from relative font size, since a PDF has no explicit "this is a heading" tag the way a webpage or Word file does. Always review the output. | यह approximate है — headings relative font size से अंदाज़े से तय होते हैं, क्योंकि PDF में webpage या Word file जैसा कोई explicit "यह heading है" tag नहीं होता। Output को हमेशा देख लें।

Q. Can this convert a scanned (image-only) PDF? | क्या यह किसी scanned (image-only) PDF को convert कर सकता है?
No — it extracts the PDF's existing text layer; an image-only scan has no text to extract. Run it through an OCR tool first to add a text layer. | नहीं — यह PDF की मौजूदा text layer निकालता है; image-only scan में निकालने के लिए कोई text नहीं होता। पहले किसी OCR टूल से text layer जोड़ें।

Q. Will tables convert cleanly to Markdown? | क्या tables Markdown में साफ़ convert होंगी?
Not reliably — pdf.js extracts text roughly in reading order but doesn't understand table grid structure, so complex tables usually need manual cleanup afterward. | भरोसेमंद तरीके से नहीं — pdf.js text को लगभग reading order में निकालता है पर table की grid structure नहीं समझता, तो complex tables को बाद में हाथ से ठीक करना पड़ता है।

Q. What happens to images in the original PDF? | Original PDF की images का क्या होता है?
They aren't extracted or embedded — this tool converts text content only, so any images, charts, or diagrams won't appear in the Markdown output. | वे extract या embed नहीं होती — यह टूल सिर्फ़ text content convert करता है, तो कोई भी images, charts, या diagrams Markdown output में नहीं दिखेंगे।

Q. Can I edit the result before downloading it? | क्या मैं download करने से पहले result edit कर सकता हूँ?
Yes — the Markdown appears in an editable text box, so you can fix misdetected headings or tidy up spacing before copying or downloading. | हाँ — Markdown एक editable text box में दिखता है, तो copy या download करने से पहले गलत पहचाने गए headings ठीक कर सकते हैं या spacing साफ़ कर सकते हैं।

Q. What file format does the download use? | Download किस file format में होता है?
A plain .md (Markdown) file, named after your original PDF, ready to open in any text editor, note app, or GitHub repository. | एक plain .md (Markdown) file, आपकी original PDF के नाम पर, जो किसी भी text editor, note app, या GitHub repository में खोलने के लिए तैयार होती है।

Q. Does multi-column layout (like a newspaper or research paper) convert well? | क्या multi-column layout (जैसे newspaper या research paper) अच्छे से convert होता है?
Not always — text from side-by-side columns can get interleaved out of order, since reading order detection is approximate for complex layouts; straightforward single-column documents convert much more cleanly. | हमेशा नहीं — side-by-side columns का text गलत क्रम में मिल सकता है, क्योंकि complex layouts के लिए reading order detection approximate होता है; सीधे-सादे single-column documents बहुत साफ़ convert होते हैं।

Q. Does this tool preserve bold, italics, or links from the PDF? | क्या यह टूल PDF से bold, italics, या links preserve करता है?
No — only plain text and basic heading levels are produced; text styling and hyperlinks from the original PDF are not carried over. | नहीं — केवल plain text और basic heading levels बनते हैं; original PDF की text styling और hyperlinks carry over नहीं होती।

Q. Is there a page or file-size limit? | क्या कोई page या file-size limit है?
No fixed limit is enforced by the tool, but very large PDFs take longer to process since everything runs in your browser's memory. | टूल कोई तय limit लागू नहीं करता, पर बहुत बड़ी PDFs को process होने में ज़्यादा समय लगता है क्योंकि सब कुछ आपके browser की memory में चलता है।

Q. Does it work on scanned reports that were printed and re-scanned? | क्या यह print करके फिर से scan की गई reports पर काम करता है?
Only if the file already has a text layer (e.g. it was OCR'd at some point); a pure image scan with no text layer has nothing for this tool to extract. | सिर्फ़ तब जब फ़ाइल में पहले से text layer हो (जैसे वह कभी OCR की गई हो); बिना text layer वाली pure image scan में इस टूल के extract करने के लिए कुछ नहीं होता।

Q. Is my converted Markdown saved anywhere after I leave the page? | पन्ना छोड़ने के बाद क्या मेरा converted Markdown कहीं सहेजा रहता है?
No — nothing is stored. Copy the text or download the .md file before navigating away if you want to keep it. | नहीं — कुछ भी स्टोर नहीं होता। अगर रखना है तो पन्ना छोड़ने से पहले text copy कर लें या .md file download कर लें।