litedoc.xyz
banner

Built by 0xovo Creator Open Source

I made this tool to help people save money, aka broke students who shouldn't have to burn through their AI tokens just to extract text and images from their own study materials. Everything runs completely locally in your browser.

Settings

Math Rendering (KaTeX)

Render LaTeX math in preview

Include Page Numbers

Add "## Page X" headers to output

Raw Text Dump (Safe Mode)

Bypass layout analysis and extract raw text

Auto-Resolve Corrupted Fonts

Skip the popup, apply action silently

⚠ Custom-font PDFs — If math or text looks like strange symbols (Mongolian script, CJK characters), the PDF uses a private font encoding. The text layer stores glyph IDs, not Unicode — no text extractor can fix this. Use a PDF with embedded Unicode text or real LaTeX source.

Drop your PDF files here

Select local PDFs. The browser processes them locally, extracts text & images (including math and Arabic), then outputs clean Markdown.

Notice on PDF Quality: This tool is not magic. The extraction quality depends entirely on your PDF's formatting and text encoding. Non-standard structures, low-res scans, or corrupted text layers will limit the quality of the markdown output.
Browse system files

Frequently Asked Questions

Is my data secure?

100% secure. All processing happens locally on your machine, right inside your browser. Your files are never uploaded to any server, database, or cloud. Once you close the tab, the data disappears.

Which PDF files are supported?
  • Standard PDFs: Extracts native text, images, and tables.
  • Scanned PDFs: Built-in OCR processes textless pages.
  • Password-Protected PDFs: Safely prompts for passwords locally.
  • Academic PDFs: Parses LaTeX formulas & multi-column layouts.
  • Corrupted Font PDFs: Renders gibberish pages as high-quality images.
Why does the extraction fail or look scrambled on some PDFs?

This tool is not magic. The quality of the markdown output depends entirely on the formatting and internal layout structure of the PDF file you upload.

If a PDF has corrupted font encodings, highly compressed image layers, or chaotic non-standard text boxes, no client-side algorithm can parse it perfectly. We always try our best to resolve layouts dynamically, but clean source files will always yield clean outputs.

Does this handle math & Arabic?

Yes. LaTeX math expressions (inline $...$ and block $$...$$) are rendered beautifully using KaTeX. Arabic text is auto-detected and rendered right-to-left with the Noto Naskh Arabic font. Switch to Rendered mode in the viewer to see math and Arabic displayed properly.

What about corrupted fonts?

Some PDFs use custom-encoded fonts where standard letters are replaced by random symbols. LiteDoc automatically detects these unreadable text layers and provides options to render the affected pages as high-quality images instead of extracting gibberish.

0xovo

Found this helpful?

If LiteDoc saved you some time or money, consider buying me a coffee!

☕ Ko-fi
uh oh
Custom Font Detected
unknown.pdf
Your PDF requires attention

This PDF uses custom-encoded fonts where the characters are not standard Unicode. This prevents normal text extraction from working correctly.

What would you like to do?

💡 Tip: You can reduce some tokens by lowering the resolution of the photo.