Websites

No code website builder vs AI code generator: which to pick

A no code section builder is the quicker, safer choice for a standard small business site, while an AI that writes code suits sites that need custom layouts, interactions or data. The difference shows less in the first draft than in how you make the next hundred changes.

· Co-founder

3 min read · Published

For most small business websites, a no code section builder is the better starting point: it is quicker, cheaper to change and hard to break. An AI that writes code earns its place when the site needs a custom layout, unusual interactions or its own data, such as a timetable or a list of case studies the site reads. The table under this article compares the two using OneCraft’s Sections mode and Code mode, which are two modes of the same product.

How each one builds

A section builder keeps a library of tested building blocks: heroes, service lists, galleries, pricing, forms, maps and so on. The AI picks blocks for your brief and writes their content. You then change words, swap layouts and adjust the theme in panels. OneCraft’s library has 28 section types with 78 layouts, each checked at phone, tablet and desktop widths.

An AI code generator writes the site’s source code. OneCraft’s Code mode writes a React Router project styled with Tailwind and built from shadcn/ui components, one git repository per site. Any layout the AI can write is possible, and the site can read data collections for things like menus, class times or reservation requests. The pages on React Router, Tailwind CSS and shadcn/ui explain the parts.

How you make changes

This is the real difference. In a section builder, changing opening hours is typing in a field, and the change is instant and free. The AI chat is there for bigger moves, such as adding a pricing section, and each change it makes is listed and can be undone. The AI chat page shows how that works.

In Code mode, every change goes through the AI chat. The AI edits files, runs a type check, a linter, the production build and a layout check that opens every page at 375, 768 and 1280 pixels, and reviews screenshots of its own pages. A change whose build fails is rolled back, so the live site is never left broken. It is powerful and careful, but slower and costlier for a one word fix.

What each costs

Panel edits in the section builder cost nothing; chat turns need 2 credits available and bill the model use of that turn. Code mode is on paid plans, bills model use at 1 credit per US cent plus 1 credit per build, and measured site generations averaged about 14 credits, with chat turns around 4. If you change your site weekly, that difference adds up.

Limits on each side

Sections cannot produce a layout the library does not have, and the AI does not write store, menu or digital shop sites in Sections mode; those start from templates. Code mode files are read only in the builder, so you cannot paste in your own code, and published output is static files with no server code. Both publish to your onecraft.live address or a custom domain, and both use the same store and form inbox.

How to decide

Choose the section builder if your site is a standard small business shape, you want to edit prices and hours yourself in seconds, and you would rather not think about layout. Choose Code mode if you need something the sections cannot do: a custom interaction, a design that must follow a reference, data the site reads from collections, or a project a developer may take over as a zip.

You can also start in Sections and move later. Eject to Code rebuilds a Sections site as code with the same content, one way, when the site outgrows the library. The AI website builder page covers Sections, and the code website builder page covers Code mode, including the six code templates.

A two minute test

Write down the three changes you expect to make most often in the next year. If they are prices, hours, photos and new services, pick the section builder. If they are new features, layouts or data driven pages, pick code.

A section builder and an AI code generator compared, using OneCraft Sections and Code mode as the example
FactorSection builder (Sections mode)AI code generator (Code mode)
How it is builtAI fills tested sections from a briefAI writes a React Router, Tailwind and shadcn/ui project
How you editPanels for content, layout and theme, plus AI chatAI chat only; files are read only
Design range28 section types, 78 layoutsAny layout the AI can write
ChecksSections pre tested at three widthsType check, lint, build and layout test on every change
Cost per changeFree in panels; chat billed by model useAbout 4 credits per measured chat turn
DataStore and form inboxStore, form inbox and data collections
PlansEvery planPaid plans
Take awayNo code exportZip download of the project

Questions people ask

Is a code website better for SEO?

Not inherently. Both can publish fast pages with titles, descriptions, sitemaps and structured data. A section builder handles these automatically; a code site handles them if every route sets its metadata, which a careful AI agent is told to do. Content and speed matter more than the method.

Can I switch from a section builder to code later?

In OneCraft, yes: Eject to Code has the AI rebuild a Sections site as a code project with the same pages, words, photos and colours. It is one way, because the block editor stops working for that site afterwards, so decide carefully before you press it.

Do I need to know how to code to use an AI code generator?

Not to build and edit, since the AI writes and changes the code from your messages. Knowing a little helps when reading the file viewer or briefing a developer later. You do need to describe changes clearly, because chat is the only way to edit.

Which is cheaper to run?

A section builder, for most sites, because panel edits cost nothing and chat edits are billed only by small model use. A code generator bills each change by model use plus a build, measured at roughly 4 credits a chat turn and about 14 for a whole generation.

Which should a restaurant or tradie choose?

Usually the section builder. Menus, services, galleries, hours, maps and quote forms are all covered by tested sections, and panel edits keep prices and hours current quickly. Code makes sense only if you need something the sections cannot do, such as a custom booking flow.

Written by

Indunil Asanka · Co-founder

Builds the generation pipelines behind OneCraft: the slide, flyer and poster layout engines, the document grid and the render workers that turn a written brief into a finished file.

LinkedIn profile

Sources

Written and checked by the OneCraft team. Last checked .

Make your own website

Describe what you need and the generator writes and designs it, then you edit anything you like.

See what it can make

Read next