Document and PDF preview
Edit local text and formulas and preview PDF files.
About this tool
Text and the supported Markdown subset update locally while editing. Typeset formulas using $…$, $$…$$, \(…\) or \[…\] with Render math. Escape literal dollars with \$. KaTeX renders math fragments, not full LaTeX documents. Invalid formulas remain marked source; printing is then disabled. Limit 65,536 characters/200 formulas, worker-based math with timeout.
Save source preserves the complete editor as a file. Print opens an isolated print area containing only the valid text/Markdown/math preview, where the browser can save PDF. Typst drafts and exports .typ source without a duplicate pretend preview; open its generated PDF afterward. Full Typst/TeX compilation is outside this tool.
Local PDFs use Mozilla PDF.js without a CDN. Maximum 50 MiB; page selection, zoom, rotation, passwords and cancellation. Page width fits the available area. Only the current page renders, with bounded pixels. Page contents as text helps copying when text exists; scanned image PDFs have no OCR. Open PDF separately uses the browser viewer to print the whole original file.
Only edited source drafts and the selected format are retained through local settings, including drafts beyond the rendering limit. PDFs, page images, passwords and preview/view states are not saved. Controls sit above the working area; page and zoom controls share a row where space allows. PDF canvases use at most six million pixels and are cleared on page/mode/tool changes. Special PDF features, fonts and native printer behavior can vary. PDFs start fitted to the whole page; choose Page width or a percentage to inspect details. Math rendering can be canceled without discarding the source.
With the preview focused, Left and Right turn pages when the page fits horizontally. Page Up and Page Down turn pages when it fits vertically. At higher zoom, these keys scroll the preview on the corresponding axis. Enter in the page field opens that page immediately.