Git File Preview: View HTML and Office Files on GitLab and GitHub
Overview
View web pages, documents, spreadsheets and slides on GitLab and GitHub file pages, including self-hosted GitLab and private repos.
Open a web page, document, spreadsheet or slide deck on GitLab or GitHub and see the content right on the file page, instead of raw source code or a download link. Built for teams that write docs, slides and course pages with AI and share them through Git: when someone sends you a file link, you open it and see the finished result. No cloning, no searching for the file, no opening it locally. ■ Supported files • HTML: rendered inside the file page. Images, CSS and JavaScript referenced by relative paths load normally, so animations and interactive pages work. • Word (.docx): headings, tables, images and highlights. • Excel (.xlsx) and CSV: shown as a table with row numbers. Switch between sheets; merged cells are kept. • PowerPoint (.pptx): slides shown one after another. • JSON: shown as a collapsible tree, including files over 1 MB that GitLab won't display. JSONL files are shown one record per line. • Audio (MP3, WAV, M4A and more) plays in a built-in player. Video (MP4, MOV, WebM) plays right on GitHub file pages. • One click to switch between Preview and Source or Download, or open the preview in a new tab. ■ Works with • GitLab.com and self-hosted GitLab, including private repositories you can already open in your browser. No access token needed. • GitHub, public and private repositories. • You see exactly the branch or commit the link points to. ■ How to use 1. GitHub works right after installing. 2. On GitLab: open any page of the site, click the extension icon, click "Enable on this site" and allow the permission prompt. Access is granted for that one site only. 3. Open a supported file. The content replaces the source view. ■ Privacy Nothing is collected or uploaded. Files are read with your existing browser login directly from the code hosting site and rendered in your browser. ■ Limitations • Word and PowerPoint files are redrawn in the browser, so fonts, bullets, table colors and charts may differ from Office. Download the file for the exact layout. • Excel shows cell text only, without colors, borders, charts or images. • Legacy .doc, .xls and .ppt files are not supported. • Audio and video play only in formats Chrome supports. • In private GitHub repositories, files referenced by relative paths from an HTML page cannot be loaded.
0 out of 5No ratings
Details
- Version26.1109.4
- UpdatedNovember 9, 2026
- Offered byyinjiang sheng
- Size609KiB
- Languages2 languages
- Developer
Email
shengyinjiang9@gmail.com - Non-traderThis developer has not identified itself as a trader. For consumers in the European Union, please note that consumer rights do not apply to contracts between you and this developer.
Privacy
This developer declares that your data is
- Not being sold to third parties, outside of the approved use cases
- Not being used or transferred for purposes that are unrelated to the item's core functionality
- Not being used or transferred to determine creditworthiness or for lending purposes