
tex2pdf is a free, static web app that compiles LaTeX and shows the result as a PDF entirely inside your browser. There is no account, no install, no server, and nothing is uploaded. You drop in a .tex file and get a PDF back.
It works by running busytex, a WebAssembly build of TeX Live, in a Web Worker. Your files are written into an in-memory filesystem, compiled locally, and the resulting PDF is rendered with PDF.js. Because everything runs client side, your document never leaves your machine.
You can upload a single .tex file, several files together (figures, .bib, .cls), or a .zip of a whole project. It auto-detects the main file, runs BibTeX when a .bib is present, and offers two engines: XeLaTeX (the default, most reliable in the browser) and pdfLaTeX. A live timer and progress bar show loading and compilation.
The site also bundles small client-side tools that load only when opened: a code beautifier and syntax highlighter, a file and PDF comparison (diff) tool, and a local copy of CyberChef. There is also live VS Code folder sync, so the PDF can rebuild as you save in vscode.dev.
Live website: https://devharsh.github.io/tex2pdf/
Source: github.com/devharsh/tex2pdf
DOI: https://doi.org/10.5281/zenodo.20708417
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.