github ↗

Code Previewer

view local code files — right in your browser

Coming soon to Chrome Web Store Coming soon to Microsoft Edge Add-ons

in review — chrome web store & edge add-ons

Animated demo — a Python file rendering itself with syntax highlighting

Everything a code viewer should have

// and nothing it shouldn't

highlight.py
Syntax highlighting for 25+ languages with VS Code-grade colors. Unknown files fall back to clean plain text.
compare.diff
Compare mode — side-by-side diff of any two files, additions green, removals red, per-pane word wrap.
preview.md
Markdown preview — live split view with a draggable divider. Tables, images, code blocks.
themes.json
4 themes — Light, One Dark, GitHub Light, Dracula. One click cycles, your pick persists.
search.rs
Search & folding — Ctrl+F with regex and match case, code folding, line numbers.
offline.lock
100% offline — zero network calls, zero telemetry. Your files never leave your machine.

See it running

// real screenshots, real files

file:///C:/samples/showcase.py
One Dark theme rendering Python
compare: Showcase.java ↔ Showcase_v2.java
Compare mode diffing two Java files
file:///C:/samples/showcase.md
Markdown preview split view
file:///C:/samples/showcase.json — dracula
Dracula theme rendering JSON

Install in under a minute

// one-time setup, then it just works

bash — install
$ get code-previewer # chrome web store / edge add-ons ← coming soon
$ enable "Allow access to file URLs" # extension details — required
$ open file:///C:/projects/main.py
✓ rendered. zero setup after that.

Your code stays yours

// privacy.diff

privacy.diff
+ everything runs locally in your browser
+ only stored setting: your theme preference
- analytics  - telemetry  - network requests  - accounts