Can you sell your GitHub data for AI training?
GitHub's terms let the account holder export its own data, and we found no clause in its API terms about training AI. The content itself carries low rights risk. This is research from public sources, not legal advice.
- The holder's own export
- The holder can export it
- Data pulled through its API
- No AI clause found
- Rights risk of the content
- Low
What a holder should know
GitHub's terms are not the blocker; the content is. A repository mixes the holder's own code (sellable only if IP assignment from employees and contractors is clean) with vendored third-party and open-source code whose licences travel with it, plus issues, pull request comments and commit metadata containing contributors' names and emails (personal data). Public repositories already carry a licence to other users under D.5. Since 24 to 27 April 2026, GitHub may use Copilot inputs and outputs on Free, Pro and Pro+ to train AI models unless the user opts out (J.3), and this does not apply where a GitHub Customer Agreement governs; disclose this to a buyer seeking exclusivity over code written with Copilot. Commentary (Heise, March 2026) reports private repository content at rest is not used for training.
Getting your own data out
Any owner can clone repositories. Organisation owners can run migration exports. No plan gate on getting your own code out.
GitHub Terms of Service (Effective date: April 27, 2026), D.3: "You own Your Content." Repositories can be cloned in full with git, and organisation and user migration archives are available to owners.
Apps that use its API
No clause found in the GitHub Terms of Service or Acceptable Use Policies barring a repository owner from licensing its own code for AI training. The API terms (section H) restrict abuse: "Abuse or excessively frequent requests to GitHub via the API may result in the temporary or permanent suspension" and "You may not use the API to download data or Content from GitHub for spamming purposes." Acceptable Use, section 7: "Researchers may use public, non-personal information from the Service for research purposes, only if any publications resulting from that research are open access." Scraping "does not refer to the collection of information through our API."
The sources, word for word
- GitHub Terms of Service(effective 2026-04-27)
“You own Your Content.”
- GitHub Terms of Service, J.3 (Inputs and Outputs)(effective 2026-04-27)
“a license to collect and use your Inputs and Outputs to develop, train and improve artificial intelligence ... unless (a) you opt out through your account settings”
- GitHub Acceptable Use Policies(read 2026-10-11)
“Researchers may use public, non-personal information from the Service for research purposes, only if any publications resulting from that research are open access.”
- Heise: Only with opt-out, GitHub will train Copilot models with user data(2026-03-27)
“GitHub is changing its terms of use and will use user interactions with Copilot for its AI model training starting April 24, 2026. ... The change affects the Free, Pro, and Pro+ plans, but not Business and Enterprise.”
Research from public sources, read on the day shown. It is not legal advice: a sale needs a lawyer who has read the records and the contracts.
What GitHub holds that buyers ask for
Source code with its history
Repositories with commits, reviews and the tickets they answer
Project and ticket histories
Jira, Linear, ServiceNow or Asana records that show how work moved from request to done
Who buys it
- Handshake AI
"We help companies license this data with $100K to $4M+ payouts." Its FAQ says payments to date have ranged from $100K to $4M, and its licence and referral pages claim $250M paid out to more than 1,000 partner companies (13 Nov 2026, its own figures, which nobody else confirms). Its calculator, a new engine from late October 2026, showed $257,000 to $513,000 for 100 employees, 10 years and five tools; it has since been rebuilt with separate company and software steps. On 13 Nov 2026 its data partnerships page served two versions: one shows the estimate (by default $400,000 to $800,000+ beside up to $100,000), the other, where a browser was sent (/ai/data-partnerships-b), none; its licence page has an Estimated payout line that stays blank until a form (name, email, company, country) is filled in, and the calculator address its FAQ links to answers 404.
- Mercor
30 listings, one per kind of company, each stating what such a company earns: from $10,000 to $1,500,000 a company. Its data page: "Compensation is based on data volume, the tools you connect, and the depth of your data."
- Ooak
"Earn up to $1M" (raised from $300K by 15 Oct 2026). Deals to date run from $20K to several hundred thousand dollars.
- Labelbox (Prism)
"Smaller targeted datasets starting around $50K and large enterprise partnerships reaching $1M+".
- Troveo
"AI labs and startups are actively paying six figures for company data exports"; "Typical full-company deals start at six figures" (13 Nov 2026), and Troveo pays the holder "on every sale, not just the first".
- Corpus Bridge
It cites licences of about $10,000 to several hundred thousand dollars for ordinary companies.
Videos
In a few minutes, on video
Each with its transcript, from the same sources as this page.
What your GitHub records are worth, and what to settle before anyone sees them.
In this topic
Rights and law
- Start hereCan this data legally be sold or licensed for AI training?Privacy law, copyright and fair use, software vendors' terms, de-identification, bankruptcy sales and what a licence agreement holds.
- GuideIs It Legal to Sell Customer Data? A US Guide for AI TrainingOften yes, but through layers: your privacy policy, the FTC Act, state and sector laws, and customer contracts. De-identified records are the main lawful path.
- GuideFair Use and AI Training: What US Courts Have RuledUS courts are split: training was fair use in Bartz v. Anthropic and Kadrey v. Meta, not in Thomson Reuters v. Ross, and pirated copies lost. Where each stands.
- GuideIs It Legal to Scrape Data for AI Training? (US Law, 2026)Scraping public pages is rarely a federal crime after Van Buren and hiQ, but contract, copyright, anti-circumvention and privacy law apply. Resale is hard.
- GuideCan a Company License Employee Emails and Slack for AI Training?Usually yes for business records the company controls, but only after it handles monitoring notices, third parties in the messages, privilege and vendor terms.
- GuideSelling Customer Data in Bankruptcy: Section 363 ExplainedA bankrupt company can sell customer data only if the sale fits its privacy policy, or a court-appointed privacy ombudsman reports and the judge approves it.
- GuideWhat Is a Data Licensing Agreement? The Terms for AI TrainingA data licensing agreement lets a buyer use data for set purposes while the holder keeps ownership. Each clause AI buyers ask for, and where holders stand.
- GuideHIPAA De-Identification for AI Training: Safe Harbor vs Expert DeterminationHealth data leaves HIPAA only through Safe Harbor (remove 18 identifiers) or an expert's determination of very small risk. How each works for AI training.
- GuideLicensing Company Data for AI Training Under the GDPR (2026)Yes, an EU, UK or Swiss company can license its records for AI training, if it has a lawful basis, tells people, drops sensitive data and uses a transfer tool.
- GuideSelling Data for AI Training: Privacy Law by CountryOutside the EU and UK, licensing records for AI training mostly needs consent or anonymisation, and a contract or consent to send them to a US buyer.
- GuideExclusive or non-exclusive: how a data licence's scope changes its priceExclusivity can multiply a data licence's price or barely move it, depending on what it covers. What each kind is worth, and how a holder should price it.
- GuideHow long should a data licence last? Terms, renewals and what perpetual costsDisclosed AI data licences run two to three years for a living company and forever for a one-off sale. What a term covers, what survives it, and how to price perpetual.
- GuideWho Owns a Dissolved Company's Data, and Who Can Sell It?The company does, not its founders or investors. Who can still sign for it after it closes, when investors must agree, and who gets the money from a sale.
- GuideSelling a company's data in UK administration or liquidationAn administrator or liquidator can license a UK company's records to AI buyers as company property. What the Insolvency Act allows, what UK GDPR still requires, and what to do before the accounts are deleted.
- GuideCan a Canadian company sell its data to AI companies?Yes, its own records, but PIPEDA treats a licence to an AI buyer as a disclosure for a new purpose. What consent, the exceptions, de-identification and Quebec's rules mean for a sale, and which buyers take Canadian companies.
- GuideCan a UK company sell its data to AI companies?Yes, its own records, but UK GDPR decides how the people in them are treated. What the Data (Use and Access) Act 2025 changed and did not, the ICO's tests for de-identification, sending records to a US buyer, copyright and database right, tax, and which buyers take UK companies.
- GuideHow Long to Keep Business Records After Closing (US, UK, Canada)What a closing company must keep, for how long and who keeps it in the US, UK and Canada, what it may delete, and what its other records are worth first.
- GuideIs It Legal for a US Company to Sell Its Data to AI Companies?Usually yes for its own records, through layers of US law: its privacy promises and the FTC Act, state privacy laws, sector rules, staff messages and DOJ rules.
- RegisterLawsuits and rulingsEvery case, ruling and settlement over training data.
- RegisterLicence termsWhat buyers ask for in a licence, and where holders stand.
- PageDe-identification standardOur rules for removing people from records, each with its source.
- RegisterAI crawler censusA daily census of robots.txt across the most visited sites.
