unraw

Un-raw your GitHub HTML files. One click renders any .html file on GitHub in your browser, privately. Works on private repositories you can read, on any branch. No servers, no tokens, nothing leaves your browser.

One click: the unraw button beside Raw opens the rendered page in a new tab

Install in one move: the bookmarklet

Nothing to install, no account, no extension. It is a bookmark that holds a tiny program instead of an address. Click it while looking at an HTML file on GitHub and the rendered page opens in a new tab.

unraw
← Drag this button to your bookmarks bar.
Chrome, Edge, Brave, Firefox, Safari, Opera. If the bar is hidden: Ctrl/Cmd + Shift + B. Firefox also accepts right-click → "Bookmark Link".

On a phone or tablet: bookmark this page, then edit the bookmark and replace its address with the text below.

Can't drag? Copy the address and create the bookmark by hand.
  1. Right-click the bookmarks bar → "Add page…" (Chrome, Edge, Brave) or "New Bookmark…" (Firefox).
  2. Name it unraw, paste the copied text as the URL, save.

Then open any .html file on GitHub and click the bookmark.

Prefer a button on the page itself?

Userscript

Adds an unraw button beside Raw on every HTML file page. Needs a userscript manager (Tampermonkey, Violentmonkey, or the Userscripts app on Safari). Updates automatically.

Install from Greasy Fork Install from GitHub
Browser extension

One-click install from the Chrome Web Store, Firefox Add-ons and Edge Add-ons. Coming; the listings will appear here.

Follow on GitHub

Why unraw, and not the others

Other tools that preview HTML from private GitHub repositories make your file pass through a third party: one sends your GitHub token to its author's server and renders on the author's domain; another hands a tokenised link to your private file to its author's website; the public-only ones cannot read private repositories at all.

unraw has one rule: the file may not leave your browser. It does what the Raw button does, with your own GitHub session, and renders locally. No server, no token, no account, no site other than github.com in the path. Full comparison in the README.

How it works

Limitations