📝TeXbrain: Free LaTeX Editor in Your Browser
A browser-based LaTeX editor that compiles .tex files to PDF without a backend server
TL;DR
TeXbrain is an open-source, browser-based LaTeX editor with no account or install requirements. It uses SwiftLaTeX's pdfTeX engine compiled to WebAssembly for local compilation and supports full git integration.
TeXbrain offers a free, open-source LaTeX editing experience entirely within your web browser. No accounts are needed; just start typing in .tex files that compile directly into PDFs without relying on a backend server. This is huge for anyone who needs to work with LaTeX documents but doesn't want the hassle of setting up an environment or dealing with local installations. The editor uses SwiftLaTeX's pdfTeX engine compiled to WebAssembly, allowing it to run offline once loaded and cache packages locally. Recompiles take 1-5 seconds depending on project complexity, making iterative editing a breeze. It supports most CTAN packages but lacks XeTeX and LuaTeX support.
Key Points
TeXbrain compiles .tex files to PDF using SwiftLaTeX's pdfTeX engine compiled to WebAssembly, supporting most CTAN packages but not XeTeX or LuaTeX
Git operations use isomorphic-git with repositories living in an in-memory filesystem backed by IndexedDB, allowing full git integration without server access
The editor supports multi-page PDF preview rendered with pdf.js and offers a command palette for quick actions via keyboard shortcut
Local file system access is supported using the File System Access API (Chrome/Edge) or Origin Private File System (OPFS) for other browsers, enabling offline editing once loaded
TeXbrain uses CodeMirror 6 as its editor with syntax highlighting and autocomplete features, supporting .tex, .bib, .sty, .cls files among others
Why It Matters
If you're working on LaTeX documents in a browser without an account or installation hassle, TeXbrain is your new best friend. It compiles .tex to PDF locally using SwiftLaTeX's pdfTeX engine and caches packages for offline use. Perfect for quick edits on the go, but be aware it doesn't support XeTeX or LuaTeX.
Frequently Asked Questions
Why does this matter?
If you're working on LaTeX documents in a browser without an account or installation hassle, TeXbrain is your new best friend. It compiles .tex to PDF locally using SwiftLaTeX's pdfTeX engine and caches packages for offline use. Perfect for quick edits on the go, but be aware it doesn't support XeTeX or LuaTeX.
What happened?
TeXbrain is an open-source, browser-based LaTeX editor with no account or install requirements. It uses SwiftLaTeX's pdfTeX engine compiled to WebAssembly for local compilation and supports full git integration.
Comments
Be the first to comment
Enjoyed this article?
Get it daily. 7am. Free. Reads in 5 minutes.
Join 3,315 builders reading daily.