Code & Markup.diff · .patch
DIFF / PATCH viewer
About DIFF / PATCH
Unified diff output (Git, patches).
Unified diff is what `git diff` emits and what most patch tools consume. diff2html renders it as a colored, side-by-side view.
FAQ
- What is a DIFF / PATCH file?
- Unified diff is what `git diff` emits and what most patch tools consume. diff2html renders it as a colored, side-by-side view.
- Is my file uploaded?
- No. Files are opened entirely in your browser using local JavaScript and WebAssembly. Nothing is sent to a server.
- Does it work on mobile?
- Yes. The viewer is mobile-first and works on phones, tablets, and desktops.
More Code & Markup
- .txtPlain TextPlain text — the universal format.Open
- .logLogPlain text logs (often huge, needs virtualization).Open
- .mdMarkdownMarkdown — lightweight markup.Open
- .htmlHTMLWeb pages — render in sandboxed iframe.Open
- .ipynbIPYNB (Jupyter)Jupyter Notebook (JSON with cells).Open
- .rmdR MarkdownR Markdown with code chunks.Open
- .texLaTeXLaTeX source with math rendering.Open
- .bibBibTeXBibTeX bibliography database.Open