ABOUT RAWGIT.NET
A small bridge.
A clear purpose.
Source hosts store code. Browsers need the right instructions to use it. rawgit.net connects those two things.
Repository files, with
browser-ready headers.
Some source hosts return HTML, JavaScript and CSS as plain text or downloads. rawgit.net acts as a caching proxy for supported public files and supplies the appropriate Content-Type and cross-origin headers.
The workflow is intentionally small: paste a file URL, choose a version, copy a link. Your repository remains the source. You do not upload files or create an account here.
See how to use itTRUST THE AUTHOR, NOT THE URL
Third-party code is still
third-party code.
rawgit.net does not audit, sanitize or endorse repository content. HTML and scripts can perform the actions their authors programmed. The document confirmation screen is a notice, not a security sandbox.
Never enter credentials or payment information into an untrusted preview. Review dependencies before embedding them. An integrity hash only verifies the expected bytes; it cannot determine whether those bytes are safe.
Use this service only for public content you have the right to share. Do not use it for phishing, malware, impersonation or other abuse. For suspicious or infringing source content, use the reporting tools on the original hosting platform.
Keep the interface simple.
Keep the data flow visible.
URL parsing happens in your browser. When you submit a GitHub branch, tag or Gist page, your browser contacts GitHub to resolve the version or list files. Generating SRI downloads the selected source file to your browser. Opening a generated URL sends a request through this service to retrieve the file.
This interface does not save your source links in local storage. Only an explicitly selected color theme is remembered there. Copying happens after you press a Copy button; the interface does not read your clipboard.
Confirming a third-party document sets a secure, HttpOnly cookie scoped to that repository on that hostname, with a 24-hour lifetime. The interface itself does not add analytics or advertising scripts.
These are descriptions of the shipped interface, not a claim of anonymous traffic or zero infrastructure logs. Requests still reach Cloudflare and, where needed, the original hosts, which process them under their own policies. Do not paste tokens, signed private URLs or other secrets.
Useful for public files.
Not every hosting job.
Only the configured public GitHub, Gist, GitLab, Bitbucket, Gitea and Codeberg hosts are supported. Private repositories, arbitrary proxy targets, server-side builds, minification and permanent file archives are outside the service's scope.
Availability depends on this deployment, its usage limits and the source platforms. Caches can expire or be evicted. This service offers no uptime or permanent-storage guarantee; keep your original files and choose a dedicated hosting solution when your application needs those commitments.
BUILT ON A SIMPLE IDEA
With thanks to rawgithack.
This implementation is inspired by neoascetic/rawgithack (opens in a new tab) by Pavel Puchkin, distributed under the MIT License. Its source-file proxy approach is reimplemented here for Cloudflare Workers.
rawgit.net is independent of the supported source hosts and is not an official GitHub, GitLab, Bitbucket, Gitea or Codeberg service.
One file. Two useful links.
Open converter