Home / Questions / Who owns my website’s source code?

Who owns my website’s source code?

Ownership of your website source code depends on your agreement. Custom code, design and content created for you should transfer to you once paid in full. Themes, plugins and frameworks stay owned by their makers, but you receive a licence to use them. Put ownership in writing before the project starts.

Many owners assume that paying for a website means owning everything in it. In reality, website source code is usually a mix of things you can own and things you can only license. Knowing the difference, and putting it in writing, prevents disputes if you change developers or sell your business.

website source code

This is general information, not legal advice. For valuable projects, ask a lawyer to review your agreement.

What makes up your website source code

PartUsually owned by
Custom theme or code written for youYou, once paid, if the contract says so
Design files and graphics made for youYou, if agreed
Your text, photos and logoYou
WordPress, Shopify or frameworksTheir makers; you use them under licence
Premium themes and pluginsTheir makers; the licence should be in your name

The World Intellectual Property Organization gives a short overview of copyright, which is what governs who owns creative work like code and design.

Ready to act on this?

Get a written review of your site, or send us your question and we will reply within 24 hours.

Can a developer reuse or sell my code?

Developers often reuse general building blocks, such as a contact form function, across projects. That is normal. What should not happen is a developer selling your unique custom work, your design or your content to someone else. A clear ownership clause, plus a confidentiality clause, sets these limits.

Clauses to include in your contract

  1. All custom code, design and content created for the project transfer to the client on full payment.
  2. Third-party software is licensed, and licences are registered to the client where possible.
  3. The developer may reuse general, non-confidential techniques, but not the client’s unique design or content.
  4. The developer delivers the full website source code and files at handover.

Read what a web development contract should include for the complete list.

Example: why it matters when you switch

A software company wanted to move its marketing site to a new agency. The first agency claimed the custom theme was its property and asked for a large release fee. The contract said nothing about ownership, so the company had a weak position and paid. Another company with a one-line ownership clause simply received the website source code at handover and moved on. One sentence in the contract made the difference.

How to make sure you receive the code

  • Ask for a full backup of files and database at launch.
  • For custom applications, ask for access to the code repository.
  • Request a list of themes, plugins and licences used.
  • Keep everything in storage you control.

Selling your business or raising investment

Ownership becomes very important if you sell your company or bring in investors. Buyers often ask for proof that you own your website source code, design and content, and that software licences can transfer. A clear contract, a recent backup and a list of licences make this simple. Without them, questions about the website source code can slow a sale or reduce its value. Keep these documents with your other company records.

The same applies if you change agencies. Having the website source code in your own storage means the new team can start work immediately, without asking the previous provider for files.

Frequently asked questions

Do I own my Shopify theme?

You own customisations made for you if agreed. The base theme is licensed from its developer or Shopify.

Can I give my website source code to a new developer?

Yes, if you own it or hold the necessary licences.

What if my contract does not mention ownership?

Ownership may be unclear. Ask for a written confirmation now, and take advice for valuable work.

Is open-source code mine?

You can use it under its licence, such as the GPL for WordPress, but you do not own the original project.

Not sure where your site stands?

Send us the details and we will reply within 24 hours with a clear next step.