Adds a button beside the rich/source diff toggle on GitHub PRs to switch every file at once.
Users
10
0 in 30 days
Rating
5.0 / 5
unchanged in 30 days
Ratings
1
0 in 30 days
Store rank
#193K
#162K among extensions
Version
0.2.2
updated 2 Jun 2026
Users
monthly, 5 months
Latest, 16 Oct 2026:10 usersMove the mouse over the chart for any month
Ratings count
monthly, 5 months
Latest, 16 Oct 2026:1 ratingsMove the mouse over the chart for any month
The Chrome Web Store rounds user counts down to the leading digit, so the user line moves in steps. The ratings count is exact and is the better signal of real adoption.
About GitHub Diff Switch
GitHub Diff Switch adds a "switch all files" button (⇄) next to each file's rich diff / source diff toggle on a pull request's "Files changed" page.
The source diff of markdown and notebooks can be hard to read. With this extension, one click on ⇄ flips every file on the page to the rich (rendered) view at once. Click again to switch them all back to source.
■ Features
・The ⇄ button appears only next to files that have a toggle (markdown, images, ipynb, etc.)
・If any file is on source, it switches all to rich; if all are rich, it switches all to source
・Automatically follows files that load later as you scroll
・Styled with GitHub's design tokens, so it blends in (light & dark themes)
・No data collection, no network requests, no extra permissions
■ Where it works
The new React-based diff view (/pull/N/files, /compare, commit pages).
A toggle appears on files that can be rendered (markdown, images, ipynb, ...). Regular code files have no toggle, so no button is added.