Someone browsing your website might want to spin a product around, look at its proportions from different angles, or inspect close-up details that flat photos leave out. A web 3D viewer lets them do that right on the page.

You do not need an online checkout to make good use of one. A manufacturer's catalog, a design studio's portfolio, or a company website can offer that exact same interactive view.

Putting a viewer on your site comes down to preparing a suitable 3D model, deciding how the viewer software will run, and testing the live page. Which route fits best depends on how your website is built, what technical help you have on hand, and how much control you want over the presentation.

What is a web 3D viewer?

A web 3D viewer is an interactive window on a web page that displays a digital model. Visitors can click or drag to rotate the object and zoom in to examine specific areas.

It helps to separate the model from the viewer. The model holds the product's geometry and surface finishes. The viewer is the player software that puts that model on screen and handles the rotation and zoom controls.

That makes it very different from a static product photograph, which locks the visitor into a single camera angle. It is also different from a product configurator: a standard viewer does not automatically let people swap surface materials, mix and match parts, or add custom text. Those features require extra setup beyond a basic viewer.

Many viewers also support augmented reality, or AR, which lets someone project the digital object into their real room using a compatible phone or tablet. Treat AR as a separate capability to check rather than assuming every web viewer includes it automatically.

What you need before you start

A GLB model of the product

For the setup covered in this guide, you will start with a GLB model. GLB is the compact binary version of glTF, a standard file format built for delivering digital 3D models. Think of the GLB as the actual product file that your web viewer opens.

Standard product photos cannot turn into an interactive 3D object on their own. If all you have right now are photographs, the 3D model has to be built first.

When commissioning or requesting the file, ask specifically for a model prepared for live website use instead of assuming a heavy engineering or production file is ready to publish. Even a 3D file built for studio renders often needs technical adjustments before it runs smoothly inside a browser.

Make sure your brief spells out the visual details that matter most: accurate proportions, surface finishes, clear or transparent parts, printed labels, and any functional features visitors will want to inspect up close.

Access to the relevant website settings

Next, check whether your website platform lets you drop in embedded content, custom HTML, or JavaScript. In plain terms, HTML structures the content on the page, while JavaScript drives the interactive behavior.

An embed from a hosted platform often drops neatly into a standard embed block in your page editor. Hosting the viewer software yourself usually requires access to your site's code files or help from a web developer.

Before you settle on an approach, ask the person who looks after your website what the platform allows. That simple conversation keeps you from preparing a setup that your current content management system blocks.

A clear place for the viewer

The connection side of a brushed-steel industrial pump with threaded ports and hex fittings

Decide where the interactive model should sit on the page and what specific question it is there to answer.

On an industrial equipment page, visitors might want to check rear ports or control panels. On a furniture listing, they might want to see how the back of a chair is finished. On a portfolio site, they may just want to turn the piece around freely.

Keep your regular product photos, key dimensions, and written specs right alongside the 3D viewer. A visitor should never be forced to spin a 3D model just to find basic facts about the item.

Check your model before putting it online

Before touching your website code, open the 3D file and look it over carefully. Make sure every part of the product is there, the surface materials look right, and the starting camera angle makes sense.

3D Vision Art's free tool, GLB Viewer, runs entirely in the visitor's browser; files are never uploaded to a server. It opens GLB, glTF, USDZ, FBX, and OBJ files and can export GLB.

It also displays the file's technical stats and surface texture maps, letting you verify that the model is complete and the finishes look accurate before you hand it over for web integration.

For a business owner, this step is purely practical. It lets you confirm that the file actually holds the right product and catch missing parts or strange surface textures before the model goes anywhere near your live site.

Even so, a local file check does not replace testing the finished page. You will still need to review the live viewer's lighting, camera controls, loading speed, and mobile layout once it is embedded on your site.

Route: embed a hosted viewer

With a hosted viewer service, the provider runs the viewing software on their own servers and gives you a snippet of code to paste into your web page.

For instance, hosted-viewer platform Sketchfab uses an iframe embed—essentially a frame on your page that displays content running on another website. Your website platform has to allow iframe embeds for this to work. We mention Sketchfab strictly as an example of how hosted embeds work, not as a recommendation to pick a specific vendor.

Prepare the hosted presentation

Start by uploading your 3D model to the hosted platform and checking how it looks inside their player. Use their dashboard settings to adjust the starting camera angle, background, lighting, and visitor controls.

Double-check the privacy and visibility settings before going live. Find out whether your uploaded model will show up in public searches on their platform, whether visitors are able to download your 3D file, and which privacy options your subscription tier includes.

Add the embed to your page

Once the preview looks right, copy the embed code from the platform and paste it into an HTML or embed block on your page.

Test the page across several screen sizes. The viewer window should sit naturally within your layout without getting squashed into an awkward box or shoving key product text off the screen.

If the viewer fails to appear, have your web person check whether your site blocks external embeds rather than wasting time re-exporting the 3D model.

Check the ongoing arrangement

Before locking yourself into a hosted platform, look closely at their rules around branding, hosting limits, support, canceling your account, and keeping access to your original files. Check which features come with your chosen plan—such as removing the provider's logo or enabling AR inside the embed—and verify whether the embedded player drops third-party cookies or tracking scripts that need to be mentioned in your site's privacy notice.

Canceling a hosted viewer plan does not necessarily mean losing your 3D model file, but do not assume your custom lighting and viewer settings will transfer over to another platform intact. Ask upfront what files you can export and what parts would need to be set up again if you move later.

A hosted embed is a practical way to cut down on the software your own team has to maintain, provided the vendor's features, pricing terms, and embed style fit your website.

Route: host a JavaScript viewer yourself

When you self-host a viewer, your own web hosting serves both the 3D model file and the JavaScript player that renders it on screen.

Because mature, ready-made viewer libraries already exist, nobody has to code a 3D engine from the ground up—though you will still want someone who knows their way around web code to wire it into your pages.

For example, Google's <model-viewer> project gives developers a ready-made web component—a reusable custom HTML tag—built for interactive 3D models and mobile AR. Three.js is another widely used route, with official documentation that includes a dedicated loader for glTF files. Both are practical examples of how self-hosted viewers are built rather than a ranked list of tools.

Put the files in an accessible location

Your developer uploads the 3D model and the viewer scripts to your web server or content delivery network, then points the viewer code to the model's file URL.

If your 3D files sit on a separate storage server from your main website, have your developer make sure browser security settings allow your site to fetch them. A model that opens fine on a local laptop can easily get blocked by cross-origin server rules once it goes online.

Add the viewer to the page

To put the viewer on the page, your developer defines the container size, links the model file, and sets up the camera controls.

Tell your developer how you want the product framed when the page opens and how far visitors should be able to zoom or rotate. Also ask for a clear loading indicator and a clean fallback image or message in case a visitor's browser cannot run the 3D view.

Keep your launch version simple and dependable. A rock-solid, easy-to-spin product view does far more for buyers than a complicated setup packed with visual effects that get in the way of seeing the product.

Agree who maintains it

Running the viewer on your own site gives you full control over how it looks, along with the responsibility for keeping it running smoothly.

Decide upfront who will handle updating the viewer library, swapping in new product models, fixing loading hiccups, and checking the page after major site redesigns—and clarify how hosting bills and developer support are covered.

Keep in mind that building the 3D model and wiring up the web page are two distinct jobs. Having a finished GLB file in your inbox does not mean the website integration is done.

Route: commission a custom-built viewer

Commissioning a custom viewer build makes sense when your product calls for interactive behavior that a standard drop-in player does not handle cleanly.

For instance, you might want preset camera buttons that swing straight to key features, clickable hotspot labels that open short notes, or custom controls tailored around a specific piece of machinery. The clearest way to brief a developer is to describe what happens when a visitor clicks: "Swing the camera to the rear connection panel when the visitor clicks this label."

Under the hood, a custom build will usually still run on an established 3D library. Here, "custom" means the interface and behavior are tailored around your product—not that the developer is reinventing basic 3D rendering code from scratch.

Start with a clear written scope that covers how the viewer looks, how the controls behave, which devices are supported, how loading works, and how the viewer connects to your site. Always ask to test a working staging preview before signing off on the final build.

Your written agreement should also spell out who has access to the source code, who owns the 3D models, what third-party software licenses are used, and how hosting, ongoing maintenance, and future product updates will work.

While a custom build lets you shape the exact experience your visitors get, it takes development time and ongoing technical care—so only go that route when the tailored behavior genuinely helps people understand your product.

What to check before choosing

Mobile performance

Always test your actual product model on real smartphones rather than judging performance from a lightweight sample model on an office desktop.

Can you spin the product smoothly with a thumb? Does dragging across the 3D view accidentally trap the user from scrolling down the page? Are your site's menu buttons and calls to action still easy to tap?

Make sure you also test the page over a regular mobile data connection. A 3D file that pops open instantly on fast office Wi-Fi can feel sluggish on a phone out in the real world. And always leave enough empty page margin around the viewer box so mobile visitors can swipe past it cleanly without getting stuck inside the 3D canvas.

File size and loading behavior

Matte-graphite over-ear headphones standing upright on a concrete pedestal

Instead of fixating on an arbitrary file-size number in isolation, look at what your specific product and page layout actually need.

Ask whoever prepares your 3D asset to balance crisp visual detail with fast browser loading. Stripping out hidden internal parts that the camera never sees and keeping texture image resolutions sensible will trim file weight without hurting how the product looks.

You should also decide when the browser downloads the 3D file. The official <model-viewer> documentation covers lazy loading—which holds off on downloading the model until the visitor scrolls near it or taps to interact—along with poster images that show a clean placeholder graphic until the 3D view is ready. Those are practical setup choices to discuss with your developer rather than automatic guarantees that a page will feel fast.

Showing a sharp still product photo in the viewer frame first gives visitors something clear to look at while the interactive 3D file loads in the background.

AR support

A hand holding a phone that previews a brass floor lamp standing in a living room corner

If you want visitors to view your product in augmented reality, check and test AR as its own separate requirement rather than assuming browser 3D covers it.

The <model-viewer> AR documentation explains how different mobile AR modes work and notes that its AR button shows up automatically on supported phones and tablets. On iPhones, AR typically launches through Apple's Quick Look, which requires a separate Apple-specific file format (USDZ)—so ask upfront whether a USDZ file will be delivered alongside your GLB or generated automatically. Meanwhile, WebXR, the browser-based AR mode, requires your site to run over HTTPS, the standard secure web connection. And if your viewer sits inside an iframe embed, the parent web page may need explicit permission tags added so the embed can access device camera tracking, which your developer can set up.

Ask your developer what visitors see when their device does not support AR and whether your models need any extra preparation for room placement. Then test the AR view on real phones to make sure both the physical scale and the materials look right in a real room.

Website compatibility and visitor access

Always test the live published page rather than relying solely on your website builder's preview mode. Check that visitors can navigate the page with a keyboard, read any control hints clearly, see helpful loading feedback, and still view fallback product photos if the 3D player fails to load.

For Shopify-specific uploading, follow how to add a 3d model to shopify.

No matter which website platform you run, the core decision stays the same: pick a setup that your site supports cleanly and that your team can realistically maintain. Put simply: a hosted embed is the quickest way to get started, self-hosting gives you direct control over the code, and a custom build is the right tool when you need guided, product-specific interactions.

If you only have photos, start with model creation

A 3D viewer cannot magically turn flat photographs into a rotatable 3D object on its own. Before anyone can set up the viewer on your website, you need a properly built digital 3D model of the product.

Pull together clear photos showing the item from multiple angles, exact physical measurements, tight close-ups of key details, and material or finish references. If any part of the product—like the underside or an interior compartment—is missing from your photos, write out a clear explanation for the modeling team.

Encourage the 3D studio to flag any unclear areas upfront rather than guessing how an unseen part is built, and check the finished model carefully against your reference sheet before signing off.

Tell the studio right from the start how the model will be used. Preparing a 3D file for high-resolution still renders, an interactive web viewer, and mobile AR each involves different technical requirements.

At 3D Vision Art, we build a high-detail master model when producing still renders. Creating a lightweight AR and web version from that master model is a separate optimization step with its own price; if a client only needs an AR or web model from the start, we build the model directly to those lightweight specs.

Lock in your exact deliverables before production starts—including the web-ready GLB file, a matching USDZ file if you want iPhone AR support, and any extra textures or assets your chosen viewer setup requires.

Frequently asked questions

Can I add a viewer without coding?

Yes, if you use a hosted viewer service, you can often paste their embed code straight into an existing embed block in your website editor. Even then, you still need to have the 3D model prepared, dial in its lighting and camera settings inside the hosted dashboard, and test the live page. If your website platform blocks external embeds or if you want custom interactive buttons, you will likely need a developer's help.

Can product photos go directly into the viewer?

Not as a rotatable 3D object. While your product photos are essential reference material for building the 3D model—and should stay on the page alongside the viewer—a 3D artist still has to build the product's digital geometry and surface textures before visitors can spin and inspect it in 3D.

Does a GLB file automatically include AR?

No. A GLB file only holds the 3D product model itself; whether visitors get an AR button depends on the viewer software and how it is set up on your page. Mobile AR also relies on the visitor's phone hardware and often requires a separate USDZ file for iPhones. Always include AR explicitly in your project scope and test it on real phones rather than assuming that a working desktop 3D view means AR is ready.

Will adding a viewer slow down my website?

Adding a 3D viewer means the visitor's browser has to download and process both the viewer script and the 3D model file. How much that affects page speed comes down to the file weight of your model, how the viewer is coded, your server speed, and the visitor's device. Test the live page on mobile, and discuss lazy loading, a poster image, and model optimization so the page stays fast.

Can I reuse a model made for product renders?

Often yes, once a 3D artist inspects and optimizes it. A heavy model built for still studio renders usually needs adjustments to its detail and surface images before it will run smoothly in a web browser. Make sure you hold the usage rights to the existing file, and have a studio evaluate it before assuming it can be dropped straight onto your website as-is.

Get the product asset ready for your website

The work required to prepare a web-ready 3D model depends on how complex your product's shape is, what reference files or photos you have on hand, how intricate the surface materials are, and whether you want browser 3D viewing, mobile AR, or both. Existing models may reduce some of the initial work, though they should always be reviewed first before locking in the project scope.

If you need a product model created or prepared for online viewing, consider 3D Vision Art's 3D & AR Assets for Ecommerce service: 3D & AR Assets for Ecommerce.

Share your product references and intended website use to request a free quote.

Get a Free Quote ↗