Ownership, UK law

Who owns the code: employees, contractors, clients and old jobs

Updated

A company can license only the code it owns: in UK law that is code its employees wrote at work and code any contractor assigned to it in signed writing.

Send an outline of my code

Code employees wrote

Section 11 of the Copyright, Designs and Patents Act 1988: where a work is made by an employee in the course of employment, the employer is the first owner of the copyright, subject to any agreement to the contrary. Code you wrote at a former job is that employer's, and aitrainer.work says the same on its own page.

Source: Copyright, Designs and Patents Act 1988, section 11 (read 28 October 2026)

Code contractors and agencies wrote

A contractor is not an employee, so the copyright starts with them. Section 90 says an assignment of copyright is not effective unless it is in writing signed by or on behalf of the person assigning it. Code a contractor wrote without a signed assignment is not yours to license.

Source: Copyright, Designs and Patents Act 1988, section 90 (read 28 October 2026)

Code you built for clients

An agency that wrote code for a client owns what its contract with that client leaves with it. Gramian takes only repositories a seller owns or is authorised to license, so a repository built for a client needs the client's contract read first.

Source: What codebase buyers ask for (read 2 November 2026)

Code written on your own time

Section 11 reaches only work made in the course of employment. Whether code written on your own time, with or without AI tools, falls outside it turns on your employment contract, which is the document to read before you offer it.

Source: Copyright, Designs and Patents Act 1988, section 11 (read 28 October 2026)

Own the code? Send us an outline

Four taps and no typing. You see the figures buyers print for code like yours, each with its source.

Question 1 of 4

What kind of codebase is it?

Prefer to write it out?

Prefer to write it out?

Tell us about the codebase

The code you own

What kind of codebase is it?

  • No repository access asked for
  • No files before an agreement

Holding years of private repositories?

Create an account, or send an outline of the code. No files and no repository access.

Sources

This site's own datasets, every figure quoted from its source and dated:

  1. DataVendor (marketplace: codebases, tasksets, RL environments) (its own page, listed on this site's dataset page)
  2. SimpleClosure AssetHub (closing companies' codebases and workspace data)
  3. SimpleClosure, introducing the Asset Hub
  4. Grepped (its own page, listed on this site's dataset page)
  5. Troveo business data
  6. Mercor Data (connects GitHub: repositories, commits, PRs, issues)
  7. Nyne data partnerships (payout estimator)
  8. aitrainer.work, sell code, data or RL environments
Send an outline of my code
main 3 datasets figures read 2026-10-27 UTF-8 sellcodebasetoai.com