contracts
How to Draft a Web Development Agreement (2026 Template and Clauses)
A web development agreement is the contract between a client and a developer or agency who builds a website or web application. The projects that go wrong almost always do so for the same reasons: a vague scope, unclear ownership of the code, and no agreed way to test and accept the work. A good agreement fixes all three. This guide shows what to include and gives a usable skeleton. It is general information, not legal advice. ## What is a web development agreement for? The agreement does four jobs. It defines what will be built (the specification), to what standard, and by when. It sets the money (fixed price, time and materials, or milestone-based) and the payment schedule. It settles intellectual property (who owns the custom code, and how third-party and open-source components are handled). And it manages delivery and risk (acceptance testing, change control, warranties, support and what happens if either side wants out). For a client it secures a working site it owns; for a developer it secures payment and a defined, bounded job. ## The two clauses that decide the project: scope and IP ### Scope and specification The single biggest cause of web project disputes is a loose scope. Attach a detailed specification or statement of work: the pages or screens, features, integrations, content management system, hosting, browser and device support, performance targets, and accessibility requirements (for example conformance with the Web Content Accessibility Guidelines, WCAG). Say clearly what is not included. Vague phrases like "a modern website" are where fixed-price projects die. ### Intellectual property in the code By default the developer, as author, often owns the copyright in the code it writes unless the contract assigns it. Clients usually want to own the custom code outright, typically by assignment on full payment. But a real website is never all custom code. Address each layer: - Custom code: assigned to the client on payment (most common) or licensed.
- Developer's pre-existing tools and libraries: the developer keeps these and grants the client a licence to use them as part of the site.
- Third-party and open-source components: identify them and make clear the client takes them subject to their own licences (for example MIT, GPL), which the developer cannot assign.
- Content and data: the client owns its own content and data. Getting this layered ownership right is what lets the client actually use, host and modify the site afterwards. ## Key clauses in a web development agreement ### Parties and status Name the client and the developer, and confirm an independent-contractor relationship. ### Scope and specification As above, with the specification attached and incorporated. ### Project plan and milestones Phases, deliverables and dates: design, build, testing, launch. Milestones are the backbone of both the schedule and the payment plan. ### Fees and payment The pricing model (fixed, time and materials, or capped), the payment schedule tied to milestones, a deposit, invoicing and payment terms, and rates for out-of-scope work. ### Change control How either party requests changes, how they are quoted and approved, and that no change proceeds without written sign-off. This clause protects both the budget and the timeline. ### Client responsibilities What the client must provide and when: content, branding, access, approvals and timely feedback. Developer delays are often client delays, so make dependencies explicit. ### Acceptance testing How deliverables are tested against the specification, the acceptance criteria, the review window, and what happens if the client does not respond. Define when work is deemed accepted so payment can follow. ### Warranties and defect fixing A warranty that the site will conform to the specification for a defined period after launch, and free correction of defects found in that period. Distinguish defects (free fixes) from new requests (chargeable). ### Hosting, domains and third-party services Who provides and pays for hosting, domains, and third-party services (payment gateways, APIs, plugins), and who holds the accounts and credentials. ### Data protection and security If the site processes personal data, address data protection obligations (for example under the GDPR), security measures, and a data processing agreement where the developer processes data for the client. ### Confidentiality Protect each side's confidential information and credentials. ### Support and maintenance Whether ongoing support is included or a separate agreement, response times, and what maintenance covers. ### Liability A cap, usually tied to the fees, exclusion of indirect loss, and carve-outs for what cannot be limited by law. ### Termination Grounds, notice, payment for work done to date, and critically a hand-over of code, assets, content and credentials on exit so the client is not locked out. ### Governing law and disputes The law and forum that apply, which matters for cross-border engagements. ## A clause-by-clause skeleton 1. Parties and independent-contractor status
- Definitions
- Scope and specification (attached)
- Project plan and milestones
- Fees, payment schedule and out-of-scope rates
- Change control
- Client responsibilities and dependencies
- Acceptance testing and deemed acceptance
- Intellectual property: custom code, developer tools, open-source, content
- Warranties and defect correction
- Hosting, domains and third-party services
- Data protection and security
- Confidentiality
- Support and maintenance
- Liability
- Termination and hand-over of code and credentials
- Governing law and disputes
- Signatures and schedules Draft the scope, IP, acceptance and change-control clauses first and most carefully; together they decide whether the project finishes, who owns the result, and who pays for the inevitable changes. ## A note on jurisdiction The commercial structure above travels well, but details vary. The copyright default (author owns unless assigned) applies across the UK, India, the EU and the US, with the US adding a narrow work-made-for-hire doctrine. Accessibility can be a legal requirement, not just good practice, depending on the client and country. Data protection obligations follow the users' location as much as the parties'. Open-source licence terms are global but enforced locally. Check the law for your jurisdiction, especially on IP and data. ## Keeping development contracts under control An agency, or a client commissioning several builds, signs many of these, each with its own specification, milestone schedule, IP position and support terms to track. The manual work (drafting from a tuned template, catching a missing code assignment or an open-ended scope, tracking milestone and warranty dates, keeping versions straight) is what an AI contract workspace can hold in one place. Adira is built for this, with per-clause risk review, plain-English clause editing and a live activity timeline. You can read more at Adira. The guidance above stands on its own. ## Bottom line A good web development agreement lives or dies on scope, IP ownership of the code, acceptance testing and change control. Attach a detailed specification, assign custom code on payment while handling third-party and open-source components honestly, define acceptance clearly, and check the IP and data rules for your jurisdiction before signing.
Frequently asked questions
- Who owns the code in a web development agreement?
- By default the developer, as author, often owns the copyright in the code it writes unless the contract assigns it. Clients usually take ownership of the custom code by assignment on full payment, while the developer keeps its pre-existing tools (licensed to the client) and third-party or open-source components pass subject to their own licences.
- Why is acceptance testing important in a web development contract?
- Acceptance testing defines how deliverables are checked against the specification, the acceptance criteria and the review window, and when work is deemed accepted. Without it, there is no clear point at which the work is done and payment is due, which is a common source of disputes.
- What stops a web project going over budget?
- A detailed scope and specification attached to the contract, plus a change-control clause requiring written sign-off and a quote before any out-of-scope work proceeds. Vague scope and uncontrolled changes are the two main causes of overruns.
- Is this guide legal advice?
- No. It is general information. IP mechanics, accessibility requirements and data protection vary by jurisdiction, so confirm the detail for your location, especially for cross-border work, with a qualified lawyer before signing.
Sources
See how Adira drafts in your voice and reads contracts from your side.
Explore the showroomWorking through a contract like this? Weave is Adira’s free tool to read, mark up, and connect any contract in your browser — no account needed.
Try Weave — free