Webflow vs custom code: which is right for your website?

Summarize with AI

Webflow and custom code can both give you a fast, beautiful website that ranks well. The right choice depends on three things: who will update the site, what it has to do beyond marketing pages, and how much control you want over cost, hosting and the code itself.

I build websites both ways, in Webflow and in custom code with Astro and Sanity, so I have no platform to push. This guide is the conversation I have with every client before we start, written down: what each option is, where each one wins, what they really cost to run, and the questions that usually make the decision obvious.

What “Webflow” and “custom code” actually mean

Webflow is a visual website platform. Designers build pages on a canvas that writes real HTML and CSS underneath, content lives in the built-in Webflow CMS, and Webflow hosts the site for a monthly fee. Your team edits text, images and CMS items in the same tool, with roles that control who can change what.

Custom code means the site is built with a web framework and lives in your own code repository. On my projects that usually means Astro for the website, Sanity as the CMS where your team edits content, and a host such as Vercel or Cloudflare. Editors never see the code. They fill in clear, labelled fields in the CMS, and the design takes care of itself.

Neither is a shortcut or a compromise. Webflow is used by large marketing teams, and Astro is behind fast, content-heavy sites for brands like Unilever, Visa and NBC News. The question is which one fits the way your company works.

Webflow vs custom code at a glance

Here is the short version. Each row is explained in more detail below.

Webflow and custom code side by side

What mattersWebflowCustom code (Astro + Sanity)
Best forMarketing sites where the team builds pages visually.Sites that need custom features, integrations or maximum speed.
Everyday editingOn the page itself, inside Webflow.Labelled fields in a CMS, with a live preview.
Building new pagesYour team can design new layouts from sections.Your team assembles pages from sections I set up.
Custom featuresPossible with apps, embeds and Webflow Cloud, but with limits.Anything you can describe: logins, calculators, live data.
SpeedGood out of the box.Excellent, with control over every script and image.
SEO basicsBuilt in and easy to manage.Built in by me, with full control over structured data.
Content limitsUp to 20,000 CMS items on the Premium plan.Set by the CMS plan, and easy to grow.
Running costsSite plan plus seats and optional add-ons.Low-cost hosting, CMS often free for small teams.
Code changesOften possible without a developer.Need a developer (or a support plan).
OwnershipThe site lives on Webflow.You own the code and can host it anywhere.

Who will edit the website?

Start here, because most of a website’s life happens after launch. A team that launches a landing page every week needs something very different from a company that updates its services twice a year.

Editing in Webflow

Webflow’s big strength is that editors work on the page itself and see the result immediately. Since Webflow retired its old separate Editor in August 2026, everyone works inside Webflow with role-based access: some people can only edit content, others can build pages. A marketer who is comfortable with tools like Figma can learn to build a new landing page from existing sections in an afternoon.

The flip side is freedom. Visual tools make it easy to nudge a margin or add a new colour, and over a year those small changes add up to a site that looks less consistent than the one you launched. Good class naming and a clear component library help, and I set both up on every Webflow build.

Editing a custom-coded site

With custom code, editors work in a CMS such as Sanity. Every page is made of sections with clear fields, like “Heading”, “Button label” and “Customer logo”, and a live preview shows the result. Editors can reorder sections and create new pages, but they can’t accidentally break the layout, because the design lives in code.

Some teams love this because it is calm and hard to get wrong. Others miss the freedom to design. If your team wants to create layouts that don’t exist yet, Webflow is the more natural fit. If they mainly publish content into a design that should stay consistent, a CMS is often easier.

What does the site need to do?

This is where the two approaches really separate.

Webflow is excellent at marketing websites: home and service pages, a blog or resources hub, case studies, careers pages, landing pages and forms. Its interactions, including GSAP-powered animation, cover most of the motion design a marketing site needs.

It gets harder when the site needs to behave like software. A few examples I see often:

  • Logins and member areas. Webflow ended its own User Accounts feature in January 2026, so memberships now depend on third-party tools such as Memberstack or Outseta.
  • Complex filtering and search. A directory, product finder or resource library with several filters usually needs extra scripts or apps.
  • Live data and integrations. Pulling prices, availability or listings from another system, or sending form data into several tools with custom logic.
  • Calculators and configurators. Pricing calculators, quote builders and quizzes are easy in code and awkward with embeds.

Webflow now offers Webflow Cloud for running app code alongside a Webflow site, which narrows the gap. But at that point you are writing custom code anyway, just inside Webflow’s setup.

With custom code, the limit is time and budget rather than the platform. If your website needs to talk to a booking system, show data from your product or run logic a visual builder was never designed for, building it in code is usually simpler and cheaper over the life of the site.

When a project sits in the middle, I look at the most demanding feature first. If that one fits comfortably in Webflow, everything else usually will too.

Design, animation and the feel of the site

Both approaches can produce exactly the same design. Visitors can’t tell which tool built a page, and neither can Google.

Webflow makes motion easy to build and adjust visually, which is great for teams that want to keep refining. In code, I can build anything a browser can do, from scroll-driven effects to interactive illustrations, and keep the page light at the same time. If your brand relies on a very specific interaction or a custom visual, code gives more room. For most company sites, Webflow’s tools are more than enough.

Both can rank. Search engines care about useful content, a clear structure and a fast, stable page, and both platforms can deliver that.

Webflow handles the basics for you: clean HTML, a sitemap, 301 redirects, meta titles and descriptions, Open Graph images and schema markup support. Speed is good by default, although every third-party script, app or embed you add makes pages heavier.

Custom code gives me control over every byte. Astro sends plain HTML and adds JavaScript only to the parts of a page that need it, so pages load very fast even on slow phones. I also have full control over structured data, image formats, caching and redirects, and I can generate files like a sitemap and llms.txt automatically from your content.

That extra control matters most when speed affects revenue: paid campaigns where every extra second costs leads, large sites with thousands of pages, or competitive search terms. For a typical company site, the content you publish will matter far more than the platform.

AI search tools such as ChatGPT, Perplexity and Google’s AI Overviews read your pages much like search engines do. Clear headings, direct answers, FAQs and structured data help on either platform.

How much content can each one handle?

For most companies, both have plenty of room. After Webflow’s pricing update in May 2026, the Premium site plan includes up to 20,000 CMS items and 40 collections, which covers a large blog, case study library and team directory. Very large sites, such as marketplaces or programmatic SEO projects with tens of thousands of pages, can outgrow it and need an Enterprise plan or workarounds.

Sanity’s free plan includes 10,000 documents and 20 user seats, and paid plans grow from there. In a custom build, adding another content type or another thousand pages is a configuration change rather than a plan upgrade.

What each one really costs

There are two costs to compare: the build and the running costs.

The build. On my projects, the price depends on the scope, not the platform. A site built from your existing designs starts at €2,000, a site I design and build starts at €3,000, and a full site with copy, tracking and an AI workflow starts at €6,000. A custom-coded site can cost more when it includes features Webflow can’t do at all, like a member area or a calculator.

Running costs. This is where the models differ. Webflow bundles hosting, security and the editing tool into a monthly plan, then charges for seats and add-ons. A custom-coded site splits the same things into cheaper parts, but changes to the code need a developer. Here is a realistic example for a company site with two people editing content, using list prices at the end of 2026 in US dollars.

Example running costs over three years (two content editors)

CostWebflowCustom code (Astro + Sanity + Vercel)
Hosting / site planPremium site plan: about $25 a month billed yearly.Vercel Pro: about $20 a month. Smaller sites can run on free tiers.
EditorsContent-only seats: about $15 per person a month, unless your site is managed in a freelancer or agency Workspace with free client seats.Sanity Free plan: $0 for up to 20 users. Growth is $15 per user a month when you need its extra features.
Optional extrasAdd-ons such as Localization, Analyze or Optimize, plus AI credits.Whatever you choose: analytics, translation, A/B testing tools.
Rough total over 3 yearsAbout $2,000 with two paid content seats.About $700 on Sanity’s free plan.
Changes to the codeMany layout changes can be done in Webflow.A developer, usually through a monthly support plan.

Platform prices change regularly, so treat these as a guide and check the current numbers before you decide. The pattern holds, though: custom code is usually cheaper to run, and Webflow usually needs a developer less often.

Over a few years the totals are often closer than people expect. The bigger difference is where your team’s time goes, and how much you depend on someone like me for changes. That is why I offer monthly plans for both kinds of site, starting at €500 a month.

Ownership and lock-in

This one is easy to overlook and hard to fix later.

A Webflow site lives on Webflow. You can export your CMS content as CSV files and export static code, but CMS-driven pages, forms and interactions only work properly on Webflow’s hosting. If Webflow raises prices or changes features, and it has done both in the last two years, your options are to adapt or to rebuild somewhere else.

A custom-coded site is yours. The code sits in your own repository, the content in your CMS, and you can move hosting providers in an afternoon. Astro is open source, and its future looks secure: Cloudflare acquired the team behind it in January 2026 and committed to keeping it open source. If you ever stop working with me, any developer can pick it up.

Lock-in isn’t always bad. Webflow takes care of hosting, security and updates so you don’t have to think about them, and for many teams that peace of mind is worth more than portability. Just make the choice deliberately.

AI and the future of website editing

Both platforms are moving fast here. Webflow now has an AI assistant that can generate sections, copy and SEO metadata, with usage based on AI credits included in Workspace plans.

Custom-coded sites are a natural fit for AI agents, because everything is text: code, content and settings. On my builds I can set up a workflow where your team asks for a change in Slack, an agent drafts the page or edit in the CMS, and a person approves it before anything goes live. That turns small website requests from a two-day wait into a five-minute review.

If your team wants AI to do more than write copy, for example updating pages across the site or turning a brief into a draft page, custom code currently gives you more freedom. I wrote more about this in my manifesto on building websites with AI.

When Webflow is the better choice

  • Your marketing team wants to build and change pages themselves, often.
  • The site is mainly marketing pages, a blog, case studies and forms.
  • You want hosting, security and updates handled in one monthly plan.
  • Someone on your team is comfortable with visual design tools.
  • You don’t need logins, complex filtering or deep integrations.
  • You’re already on Webflow and it works for you. A redesign doesn’t need a new platform.

When custom code is the better choice

  • The site needs features a visual builder struggles with: accounts, calculators, live data or several integrations.
  • Speed directly affects revenue, for example in paid campaigns or competitive search.
  • You want to own the code, avoid platform price rises and host anywhere.
  • Your team mostly publishes content into a design that should stay consistent.
  • You plan to grow into thousands of pages or several languages.
  • You want AI agents to help run the site, not just write copy.

Is there a middle ground?

Yes, and it’s more common than people think.

  • Start in Webflow, move later. Launch quickly in Webflow and move to code when the site’s needs outgrow it. Content can be exported, and with a proper redirect plan you keep your search traffic. I cover the process in Webflow to Astro migrations.
  • Webflow plus code. Keep the marketing site in Webflow and build the complex parts, like a calculator or member area, as small apps alongside it.
  • Code with a visual CMS. Sanity’s live preview and page-building sections give editors much of the flexibility of a visual builder while the design stays protected.

How I help clients decide

A short decision process

  1. List who edits and how often

    Write down everyone who will touch the site after launch and what they will do: fix typos, publish posts, or build new landing pages.

  2. Write down the hardest feature

    Name the single most demanding thing the site must do. If that fits comfortably in Webflow, the rest usually will too.

  3. Check your growth plans

    Think two years ahead: more pages, more languages, more integrations, or AI helping your team.

  4. Compare running costs for your team

    Price both setups with your real number of editors and the add-ons you would actually use.

  5. Decide who you’ll call for changes

    A custom site needs a developer for code changes. Make sure that person, or a support plan, is in place before launch.

Questions that usually settle it

If you’re still unsure, these questions tend to point clearly one way:

  • Does your team want to design new pages, or mostly update content?
  • Does the site need accounts, live data, or connections to other software?
  • How often will you add new pages after launch?
  • How much does page speed affect your leads or sales?
  • Would it worry you if your platform changed its prices or features?
  • Who will you call when something in the code needs to change?

Bring your answers to a call and we’ll choose together. I build in both, so I’ll tell you honestly which fits, and what each choice means for your budget and your team. You can read more about each option on my Webflow websites and custom websites pages, or see pricing for both.

Frequently asked questions

Neither is automatically better. Both produce clean HTML that search engines understand, and both support sitemaps, redirects, meta tags and structured data. Custom code gives more control over page speed and structured data, which helps on large or highly competitive sites. For most company websites, the content you publish matters far more than the platform.

Not for everyday content. Editors use a CMS such as Sanity with clearly labelled fields and a live preview, and can create new pages from ready-made sections. You only need a developer for new kinds of sections or layout changes.

After Webflow’s May 2026 pricing update, paid site plans start at about $15 a month billed yearly, and the Premium plan most company sites need costs about $25 a month billed yearly. Extra editors, add-ons such as Localization or Optimize, and AI credits can add to that. Check webflow.com/pricing for current numbers.

Yes. Your CMS content can be exported and imported into a new CMS, the design is rebuilt in code, and every old URL gets a redirect so you keep your search traffic. Many companies start in Webflow and move once they need features or control it can’t offer.

Both can score well. Webflow sites are fast out of the box but get heavier with every app or embed you add. A custom Astro site sends plain HTML and adds JavaScript only where it’s needed, so it is usually the faster option when speed really matters.

You own your content and design, and you can export content and static code. But CMS pages, forms and interactions depend on Webflow’s hosting, so in practice the site stays on Webflow. With custom code, you own the code itself and can host it anywhere.

Astro is an open-source framework for building fast, content-focused websites. It is widely used, and in January 2026 Cloudflare acquired the team behind it and committed to keeping it open source, so its long-term future looks secure. Any experienced web developer can work on an Astro site.

Yes. I design and build websites in both, and I recommend whichever fits your team and goals. If you are unsure, send me a short description of your site and I will tell you which I would choose and why.

About the author

Mislav Repinac

Mislav Repinac

Independent designer & developer

I’m based in Osijek, Croatia. I design and build websites in Webflow and custom code, then show the people who run them how to publish pages and make everyday edits.

  • How to get your website recommended by ChatGPT and AI search

    What actually makes ChatGPT, Google AI Overviews and other AI tools mention your business, what you can safely skip, and a 30-day plan.

  • How much does a website cost in 2026?

    Real price ranges for business websites, what drives the cost, running costs after launch and how to compare quotes.

You scrolled this far...

Let’s have a talk about your project

No fluff and no sales pitch, just friendly chat about your project and needs and whether we would be a good fit

Let’s talk