Skip to content

GitHub Gist

by GitHub, Inc.

GitHub's service for sharing code snippets and notes as small Git repositories.

  • Free plan

From GitHub Gist's own website and public documents, updated 13 Nov 2026. Not a hands-on review: I add a verdict only to products I use myself.

What is GitHub Gist?

GitHub Gist lets you share snippets of code or text. GitHub says each gist is a Git repository, so you can fork or clone it and see its full history.

Gists are either public or secret. Public gists appear in Discover and are searchable. Secret gists do not appear in Discover or search results unless you are signed in as the author, but GitHub's documentation says secret gists are not private, because anyone with the URL can view them. For restricted code it recommends a private repository.

GitHub's privacy statement names GitHub, Inc. and GitHub B.V. as controllers and Microsoft as an affiliate. It says GitHub does not sell data, and that it shares data with affiliates, service providers and partners. On GitHub.com and Enterprise Cloud, secret gists are scanned for partner secrets.

Best forDevelopers sharing code snippets that are fine for anyone with the link to see

GitHub Gist features

  • Public and secret gists

    Secret gists stay out of search, but anyone with the URL can open them.

  • Git history

    Each gist is a Git repository with commits, diffs, forks and clones.

  • Secret scanning

    Secret gists are scanned for partner secrets, and the partner is notified if one leaks.

  • Change visibility

    You can turn a secret gist public, but not the reverse.

  • Global Privacy Control

    GitHub says GPC signals prevent sharing for advertising purposes.

What GitHub Gist works with

  • GitHub

From the vendor's own integration list or documentation.

GitHub Gist pricing

Starting price

Not stated

  • Pricing modelFree
  • Free planYes
  • Free trialNot stated

Checked 13 Nov 2026. Prices change often; the vendor's page wins.

Trust and privacy

Company based in
United States
Open source
No, or not confirmed

Independent audits

No public independent audit found.

Good to know before you buy

  • Never put passwords or keys in a gist, even a secret one.
  • A public gist cannot be changed back to secret.
  • GitHub's statement says it shares data with Microsoft and other affiliates for purposes including marketing and product development.

GitHub Gist alternatives

Cryptgeon

cupcakearmy

Open source self-destructing notes with client-side encryption, kept in memory only.

Self-hosted paste and file sharing in a single executable, with expiry and optional encryption.

Minimalist self-hosted pastebin where the server has zero knowledge of what is stored.

Pastebin.com

Pastebin

Website for sharing snippets of text and code through public, unlisted or private pastes.

Frequently asked questions

What is GitHub Gist?

GitHub's service for sharing code snippets and notes as small Git repositories.

Is there a free version of GitHub Gist?

Yes. GitHub Gist has a free plan or tier; check the pricing page for its limits.

What are the alternatives to GitHub Gist?

Products in the same category include Cryptgeon, MicroBin, PrivateBin, Pastebin.com.

Where is GitHub Gist based?

The company behind GitHub Gist is based in San Francisco, United States.

Have you tested GitHub Gist?

Not yet. This page lists published facts only. When I test it, my verdict will appear at the top.

Sources (2), checked 13 Nov 2026
  1. docs.github.com/en/get-started/writing-on-github/editing-and-sharing-content-with-gists/creating-gists
  2. docs.github.com/en/site-policy/privacy-policies/github-general-privacy-statement

Spotted something out of date? Tell me through the contact page and I will fix it.

By using this site, you agree to the Privacy Policy.