Do I own the code if someone else builds my website?
Do I own my website code when someone else builds the site? What the contract needs to say, what to check at handover, and how to avoid being locked in.
If you paid someone to build your website, you own the design and content you supplied, but you may not own the code. It depends entirely on what your contract says. If it says nothing, the person who wrote the code usually keeps the copyright to it, and you may only have a licence to use the site.
That is the short answer. The rest of this is what to check before you sign, and what to get in the handover.
Do I own my website code when I pay someone else to build it?
Not automatically, no. Copyright in code sits with the person who wrote it unless it is assigned to you in writing. Paying an invoice does not transfer ownership. A builder can charge you for the work, hand over a working website, and still own the thing that makes it run.
This surprises people because it does not match how buying a physical thing works. If you pay a joiner to build you a table, the table is yours. Code is different. It is treated as a literary work, and the author holds the rights until they sign them away.
So the question is not really "do I own it?" It is "what does my agreement say, and what happens if I fall out with my builder or they stop trading?" That second part matters more than ownership in the abstract.
What should the contract say about ownership?
Look for the words "assign" or "assignment". A clause like "all intellectual property rights in the deliverables are assigned to the client on final payment" is what you want. That is the builder giving you the rights outright.
Weaker versions you will see:
- "The client is granted a licence to use the website." A licence means you can use it, not own it. Read how long it lasts and whether it can be withdrawn.
- "Ownership transfers on full payment." Fine, as long as you know what counts as full payment and what happens if there is a dispute.
- Nothing at all. This is the common one. No clause usually means no transfer.
Also check what is excluded. A builder who uses their own framework, component library or starter kit will often keep ownership of that and licence it to you. That is reasonable — it is their toolkit — but you need to know, because it affects what you can do later. If your whole site is built on someone's private framework, moving it is harder than moving a site built on standard tools.
The government's guidance on copyright for software is worth five minutes if you want the legal shape of it. It is written for people who make things, but it tells you plainly that the author is the first owner.
What about the domain name and the hosting?
The domain is the thing most people lose, and it is nothing to do with code.
Check who the registrar account is with. If your builder registered the domain in their own name, or in their account, they control it. You can ask them to transfer it. Most will. Some will not, or will take a while, and in the meantime your email and your website address belong to someone else.
What you want:
- The domain registered in your name, or in an account you can log into.
- The registrar login in your own hands, not just "we'll manage it for you".
- Hosting either in your account or documented so it can be moved.
- A note of the DNS settings somewhere you can find them.
The same goes for your email, your WhatsApp Business account and any phone number used for an AI voice agent. If those sit inside someone else's account, you do not have them, however good the site is.
None of this is a reason to distrust your builder. It is a reason to put your name on things from day one. Good builders expect it.
What should be in the handover?
Ask for these before the final payment, not after:
- The code. A repository you control, or a full download, not a zip emailed as a favour.
- A written list of what is and is not included. Which parts are yours outright, which are licensed, and what the licence allows.
- Every login. Hosting, domain registrar, content system, analytics, any third-party accounts.
- A short runbook. How to deploy, how to roll back, where the database lives, what to do if something breaks.
- A note of dependencies. What the site needs to keep running — a particular service, a version of something, a paid subscription.
If the answer to "can I have the code?" is vague, treat that as information. It is much easier to ask now than to ask when you are trying to leave.
How do I avoid being locked in?
Keep the code on standard, well-known tools. A site built on a common framework can be picked up by almost any developer. A site built on someone's private system can only be maintained by them, which is a strange kind of lock even when the ownership clause is generous.
Then make sure you hold:
- the domain in your own name
- the hosting account, or the ability to move it
- the repository
- a copy of the code, downloaded, not just available on request
That is the difference between being a client and being a tenant. You can be a happy tenant for years. The trouble is the day you want to leave.
If you are commissioning work now, ask the ownership question before anything is built. Any builder who is uncomfortable answering it in writing is telling you something useful.
Our own position is simple. On Goodwork Library you build the site yourself and keep what you download — one payment, production-ready code, no ongoing tie. On GOODWORK Complete we build it, and the handover is part of the job. If you want to talk through what a build includes, book a call. Prices are on the pricing page and fixed in writing before any work starts.
FAQ
Do I own the code if the contract does not mention it?
Usually not. Copyright stays with the person who wrote the code unless it is assigned to you in writing. You may have an implied licence to use the site, but a licence is not ownership, and it may not survive a falling out.
Is the domain part of the website build?
No. The domain is a separate registration, held with a registrar. Check whose name and whose account it is in. If it is in your builder's account, ask for it to be moved to yours, and keep the login yourself.
Can I move my website to another developer?
Usually yes, if it was built on standard tools and you have the code and the logins. It gets difficult when the site runs on a private system only your builder maintains, or when you cannot get a copy of the code.
What is the most important thing to check at handover?
The domain, the hosting account and a downloaded copy of the code. Get all three in your own hands before the final payment. Everything else can be sorted out later.