Skip to content
AI Data Payout
Seller guide

Selling your app's codebase after the product shuts down

Yes, you can still sell it. AI companies pay for repositories, with their commits, pull requests and review threads, as material to learn from, and MIT Technology Review reports that one shut-down crypto startup sold its code base alone for about $25,000. Replay and Grepped, which we work with, both take code along with the rest of a company's records.1,2,3

By , founder and editor · Updated

Independent and sourced. We feature companies that pay us a referral fee. Our scores and reviews don't change for it. How we earn

Who buys

Who buys code from a shut-down startup

Replay, which we work with, licenses a company's code and commits together with its decision threads, support history and internal docs. It asks for 20+ full-time staff and English-language operations, and its valuation form asks for your peak headcount, years in operation and whether you keep your own codebase, so a team that has since shrunk can still ask.2,4

Grepped, which we work with, takes codebases along with messages, documents and tickets, from GitHub, Jira and the other systems you choose. It works through read-only access to only the sources you approve and states no headcount minimum, so a small engineering team is not ruled out.3,5,6

SimpleClosure sells code as part of a shutdown and says its buyers are AI labs and other technology companies, and Mercor lists GitHub among the 100+ tools it takes. Code usually sells best with the rest of the record, the tickets and chat that explain why each change was made, so offer them together.7,8

The quiz asks what systems you still have and how big the team was, then introduces you to the buyers we work with that take code from a company like yours.

How much is out there

A market measured in repositories and commits

Plenty of founders are already doing this. SimpleClosure says companies on its AssetHub have offered nearly 500M lines of code across 3,000 repositories, which is what has been offered, not what has sold.9

You do not need a decade of history either. The crypto startup in MIT Technology Review's report had run for about two and a half years, and its code base still found a buyer.10,1

A market measured in repositories and commits
FactValue and source
A closed crypto startup's data

About $25,000 for its code base, with about $15,000 for workspace data pending

[1] MIT Technology Review ·

Code offered on AssetHub

Nearly 500M lines of code across 3,000 repositories, with 1.7M commits, 200,000 pull requests and 3,200 contributors

[9] SimpleClosure, What Your Assets Are Worth · company's own claim ·

Code that drops out

Roughly 37% of raw code disappeared after removing third-party and generated code and internal duplication

[11] SimpleClosure, What Your Assets Are Worth · company's own claim ·

What sets the value

Value depends on scale, quality, differentiation and scarcity; more employees and more years operating raise it, and testing and documentation can matter more than line count

SimpleClosure puts typical company assets at tens of thousands to hundreds of thousands of dollars, with enterprise asset sales reaching into the millions.

[12] SimpleClosure, What Your Assets Are Worth · company's own claim ·

What counts

Not every line in the repository counts

Buyers only pay for code your team wrote. SimpleClosure says roughly 37% of the raw code it looked at disappeared once third-party libraries, generated files and copies were stripped out, so expect a buyer's count to come in well below the number on your dashboard.11

Size is not everything. SimpleClosure says tests and documentation can matter more than line count, and more staff and more years raise the value, so a modest repository with tests and real review threads can hold its own against a bigger one.12

Preparation

Before anyone sees a repository

Search the code and its full history for secrets, such as API keys, passwords and tokens, and revoke anything that still works. List the open-source pieces and their licenses, and note which repositories hold work done for one customer or customer data in test files.

SimpleClosure says it strips sensitive information and credentials from every dataset before it is licensed, and Grepped says it deletes the originals after processing. Ask any buyer who does the cleaning and whether you see the result first, and keep the full commit history if you can.13,5

FAQ

Questions, answered with sources

  • Yes. AI companies license repositories with their commit and review history even when the product will never run again, and Replay and Grepped, which we work with, take code along with a company's other records.1,2,3

  • MIT Technology Review reported about $25,000 for the code base of a crypto startup that had run for about two and a half years. About $15,000 for its workspace data was pending.1,10

  • SimpleClosure says roughly 37% of raw code disappeared after removing third-party and generated code and internal duplication.11

  • SimpleClosure points to scale, quality, differentiation and scarcity. More employees and more years operating raise value, and testing and documentation can matter more than line count.12

  • SimpleClosure says nearly 500M lines across 3,000 repositories, with 1.7M commits, 200,000 pull requests and 3,200 contributors.9

  • AI labs and other technology companies, usually through a licensor or a wind-down service. Replay and Grepped, which we work with, take code alongside the rest of a company's records.2,3,8,7

  • Every business is different, so this one is best talked through with the buyer you're working with. Their team goes over it with you before anything is signed.

Before you sign

Every business is different, so these are best talked through with the buyer you're working with. Their team goes over them with you before anything is signed.

Questions for this kind of business

  • Do the open-source licenses in our dependencies affect licensing the repository as training data?
  • Did any customer agreement give that customer rights in code we wrote for it?
  • Were every contributor's rights in the code assigned to the company?
  • Who owns this data: the company, an estate, or someone else?
  • Do customer, supplier or platform contracts, NDAs or API terms restrict this?

Questions for any buyer

  • Is the license exclusive, and for how long?
  • Can you sublicense the data, and to whom?
  • Which AI labs will receive it, and will you tell us?
  • How long do you keep it, and how is it deleted?
  • What is your liability cap, and who indemnifies whom?
  • Will the contract ban re-identification of people in the data?
  • Who removes personal data, by what method, and do we approve it first?

How this page was made

Figures come from the published sources listed below, and what a buyer says about itself is its own claim. Anything marked as our estimate is ours, not a buyer quote. Drafted with AI help from our research, then checked against each source and edited by Brandon Kuipers. Updated .

We feature companies that pay us a referral fee. Our scores and reviews don't change for it. See how we earn and how we rank. This site does not give legal, tax or financial advice.

Sources (13)

  1. 1.MIT Technology Review, published 13 Oct 2026. Accessed 14 Oct 2026.
  2. 2.Replay homepage. Accessed 30 Oct 2026. Company's own claim.
  3. 3.Grepped estimate form (site code, config.js). Accessed 9 Nov 2026. Company's own claim.
  4. 4.Replay referral page. Accessed 9 Nov 2026. Company's own claim.
  5. 5.Grepped security page. Accessed 9 Nov 2026. Company's own claim.
  6. 6.Grepped marketplace. Accessed 31 Oct 2026. Company's own claim.
  7. 7.SimpleClosure AssetHub. Accessed 14 Oct 2026. Company's own claim.
  8. 8.Mercor Data page. Accessed 14 Oct 2026. Company's own claim.
  9. 9.SimpleClosure, What Your Assets Are Worth, published 3 Sep 2026. Accessed 14 Oct 2026. Company's own claim.
  10. 10.MIT Technology Review, published 13 Oct 2026. Accessed 14 Oct 2026.
  11. 11.SimpleClosure, What Your Assets Are Worth, published 3 Sep 2026. Accessed 14 Oct 2026. Company's own claim.
  12. 12.SimpleClosure, What Your Assets Are Worth, published 3 Sep 2026. Accessed 14 Oct 2026. Company's own claim.
  13. 13.SimpleClosure AssetHub. Accessed 14 Oct 2026. Company's own claim.