VRML (WRL) viewer
Drop a .wrl file below to see it in 3D. VRML was the 1990s attempt to put 3D on the web, and although browsers forgot it, engineering tools did not: PCB 3D models, scientific plots and full-colour 3D print jobs are still saved as VRML today.
VRML: 3D on the web, thirty years early
VRML was proposed in 1994 as HTML for three-dimensional worlds: a text file a browser plug-in could display, with links to other worlds. VRML 1.0 was based on Silicon Graphics' Open Inventor format; VRML 2.0 (1997, standardised as VRML97) added animation, scripting, sound and interaction. Browser plug-ins faded in the early 2000s, and the successor standard, X3D, never reached mainstream browsers either.
What survived is VRML's role as a simple, readable interchange format for coloured geometry — which is exactly what several engineering niches need.
How a VRML file is written
A VRML97 file is text, starting with the header #VRML V2.0 utf8, followed by a tree of nodes:
- Transform — groups children and moves, rotates and scales them.
- Shape — pairs a geometry with an appearance.
- IndexedFaceSet — the workhorse: a list of points plus face indices, each face terminated by
-1, optionally with per-vertex or per-face colours. - Box, Sphere, Cylinder, Cone — primitive solids.
- Material — diffuse, specular and emissive colour and transparency.
- DEF / USE — names a node once and reuses it, which keeps repeated parts small.
Because it is plain text, a VRML file can be checked and even edited in a text editor — useful when an export misbehaves.
VRML and PCB design
If you work with electronics, this is probably why you have a .wrl file. KiCad's 3D viewer uses VRML (alongside STEP) for component models because it carries colour cheaply — black IC bodies, silver pins, a green board — and KiCad can export a whole populated board as VRML. Opening it here is a quick way to check a footprint's 3D model or show a board to someone without KiCad installed.
KiCad's VRML models use 1 unit = 0.1 inch (2.54 mm). A 10 mm component therefore reads about 3.94 units here. When converting a KiCad VRML for printing an enclosure mock-up, scale by 2.54 or use the STEP version of the model instead, which is in millimetres.
VRML and full-colour 3D printing
Binder-jetting and colour-sandstone printers — and the print services that run them — accept VRML because, unlike STL, it carries colour and texture with the geometry. If you prepared a coloured model for such a service, this viewer shows its material colours — a quick check that the parts are coloured as intended, though per-vertex paint and textures are not displayed. For desktop multi-colour printing on an AMS or MMU, convert to 3MF instead: Bambu Studio, PrusaSlicer and OrcaSlicer read 3MF part colours.
What this viewer reads
- IndexedFaceSet geometry, primitives and nested Transforms — drawn in place.
- Material colours — shown, one per part. Per-face and per-vertex colours — not displayed.
- DEF/USE instancing — expanded.
- Lines and points (IndexedLineSet, PointSet) — skipped, with a note.
- Textures, Inline references, scripts, sensors and animation — not loaded.
Common problems
"Only VRML 2.0 is supported"
The file is VRML 1.0 (header #VRML V1.0 ascii). MeshLab can open it and save a VRML97 or another format.
Garbled characters or "not a VRML file"
The file is gzip-compressed. Rename it to .gz, extract it with 7-Zip or gunzip, and open the result.
Parts missing
The model pulls other .wrl files in with Inline nodes. Open those files individually, or export the scene again as one file.
Converting VRML
- WRL to STL — shape only, for any slicer.
- WRL to OBJ — a plain mesh for Blender and other modelling tools.
- WRL to 3MF or GLB — through the 3D model converter, with colours kept per part.
Why nothing is uploaded
Every other viewer you will find asks you to upload the file to a server, which renders it and sends back a picture. That means your model sits on someone else's disk, subject to their retention policy, their security and their terms.
This page does not work that way. The file is read by the browser FileReader API, parsed by JavaScript in your tab, and drawn with WebGL on your own graphics card. No request carrying your data is ever made — you can confirm this by opening your browser developer tools, switching to the network tab, and watching nothing happen when you open a file.
That is worth something if you work on anything confidential: client parts, unreleased products, prototypes under NDA. It also means the page keeps working with your network disconnected.
Frequently asked questions
What is a WRL file?
A file in VRML, the Virtual Reality Modeling Language. It is a text format describing 3D shapes, colours, materials and scene structure. The .wrl extension comes from "world". VRML97, also called VRML 2.0, is an ISO standard (ISO/IEC 14772).
Where do VRML files come from today?
KiCad and other PCB tools use VRML for component 3D models and board exports; SolidWorks, Creo and CATIA can export it; MATLAB and scientific software save 3D plots as VRML; and full-colour 3D printers (binder jetting, colour sandstone) accept VRML because it carries per-vertex and per-face colour.
Which VRML versions does this viewer open?
VRML 2.0 / VRML97 files, which start with the line #VRML V2.0 utf8. The older and very different VRML 1.0 is not supported; convert it with MeshLab or a CAD tool if you have one.
My WRL file will not open — why?
Check three things: the first line should read #VRML V2.0; the file may be gzip-compressed (common for .wrz and some .wrl files — decompress it with 7-Zip first); or it may reference external files with Inline nodes, which are not loaded here.
Are the colours kept?
Material colours are shown, one colour per part, and kept when you convert to 3MF or GLB. Colours painted per vertex or per face are not shown. STL and OBJ output keep only the shape.
What unit is VRML?
The VRML specification defines one unit as one metre, but many exporters ignore that — KiCad models, for example, use a tenth of an inch per unit. Check the dimensions shown and pick the right unit when converting.