---
title: "OpenSCAD to STL Online — Convert .scad Files Without Installing | Forgent3D"
description: "Convert .scad files to STL in your browser. Real OpenSCAD renders the model, Customizer parameters become sliders, and one click saves a binary STL for your slicer. No install, no sign-up, nothing uploaded."
url: https://www.forgent3d.com/en/openscad-to-stl
---

# OpenSCAD to STL online: convert .scad files without installing OpenSCAD

Downloaded a .scad file and only need something your slicer can open? Drop it here. Real OpenSCAD renders it in your browser, its Customizer parameters become sliders, and “Export STL” saves the mesh — the same triangles desktop OpenSCAD writes after a render. No install, no sign-up, and the file never leaves your computer.

[Convert a .scad file →](https://app.forgent3d.com/scad?lang=en) [Try it on an example →](https://app.forgent3d.com/scad?example=parametric-box&lang=en)

## How to convert a .scad file to STL

1.  01
    
    ### Open the converter
    
    The page loads OpenSCAD itself as it opens, which takes a few seconds the first time; after that most models render in a second or less.
    
2.  02
    
    ### Add the file
    
    Drop the .scad file onto the page, or paste its code into the editor. If it includes other files (include <…> or use <…>), drop the whole folder so they come along. MCAD, BOSL2 and Write.scad are built in.
    
3.  03
    
    ### Set the parameters
    
    Variables marked up for the Customizer appear as sliders, drop-downs and checkboxes. Each change re-renders the model half a second later.
    
4.  04
    
    ### Export STL
    
    Click “Export STL” and you get a binary STL of exactly what is on screen, ready for PrusaSlicer, Cura, OrcaSlicer or Bambu Studio.
    

## What ends up in the STL

### OpenSCAD's own mesh

The STL is OpenSCAD's render of your file, written out triangle for triangle — no conversion in between that could change the shape. It is what desktop OpenSCAD exports after F6.

### Curves as fine as $fn says

Round shapes have as many segments as $fn (or $fa and $fs) give them, as on the desktop. For a smoother print, put something like $fn = 96; at the top of the file and export again.

### Only the part you print

% background objects are left out, # highlighted ones are exported like any other part, and color() is dropped: STL has no standard place for it. Everything at the top level goes into one file.

### Sizes come through as written

STL stores no units. OpenSCAD models are written in millimetres by convention and slicers read STL as millimetres, so a 40 in the code is 40 mm on the bed.

## No file at hand? Convert one of these

Each opens already rendered. Change a parameter, then press “Export STL”. No sign-up.

[![Isometric view of a weld-neck flange: eight bolt holes around a tapered hub with a bore](/scad-examples/pipe-flange.webp)

### Weld-neck flange

A revolved profile with a bolt circle: raise $fn for rounder holes before you export.

Open and export →](https://app.forgent3d.com/scad?example=pipe-flange&lang=en) [![Isometric view of a small and a large spur gear in mesh, each with a centre bore](/scad-examples/spur-gears.webp)

### Meshing spur gears

Two files: the entry uses a gear library in lib/, which is how most downloaded projects look.

Open and export →](https://app.forgent3d.com/scad?example=spur-gears&lang=en) [![Isometric view of a rounded box and its lid side by side, open side up](/scad-examples/parametric-box.webp)

### Parametric box with lid

Set the size, wall and lid fit with the sliders; the STL holds both the box and the lid.

Open and export →](https://app.forgent3d.com/scad?example=parametric-box&lang=en)

## Compared with desktop OpenSCAD

|  | Desktop OpenSCAD | This page |
| --- | --- | --- |
| Install | Download and install | Open a web page |
| Getting the STL | Render (F6), then File → Export → Export as STL | It renders as you go; one “Export STL” click |
| Projects with include / use | Open the entry file | Drop the folder |
| Other formats | 3MF, OFF, AMF, DXF, SVG and more | STEP (exact B-rep) for CAD software |
| Where it runs | On your computer | In your browser; the file is not uploaded |

## FAQ

### Is it free?

Yes. There is no sign-up and no limit on how many files you convert.

### Are my files uploaded?

No. OpenSCAD runs inside your browser tab and writes the STL there too; the contents of your files never leave your computer.

### Why does my STL look faceted?

Curves get as many segments as $fn, $fa and $fs allow, exactly as on the desktop. Set a higher $fn at the top of the file or on the round shapes (96 is plenty for most prints) and export again.

### The file uses include, use, or an STL / PNG / font file. What do I drop?

The whole folder. Files are looked up by the same relative paths OpenSCAD uses; data files read by import() or surface() (STL, OFF, OBJ, AMF, DXF, SVG, DAT, PNG) and .ttf / .otf fonts come along. MCAD, BOSL2, Write.scad and Thingiverse's build\_plate.scad are built in.

### Can I get 3MF, DXF or SVG instead?

Not here: this page exports STL, and STEP for CAD software. A 2D design (one without linear\_extrude or rotate\_extrude) has no STL, and DXF / SVG export is not available yet.

### How large a model can it handle?

Most files render in a second or two. A model that flattens to more than 150,000 nodes (loops unrolled) is beyond the in-browser build, and the page says so. A long render can be stopped at any time.

### I need a STEP file for Fusion or SolidWorks, not an STL.

Use OpenSCAD to STEP: the same tool rebuilds the model as exact B-rep, with true cylinders and planes instead of triangles.

## Related

[### OpenSCAD to STEP →

Need a CAD file instead? The same tool exports real B-rep STEP.](https://www.forgent3d.com/en/openscad-to-step) [### OpenSCAD Customizer →

Customizing a Thingiverse model? Load the folder and use the sliders.](https://www.forgent3d.com/en/openscad-customizer) [### ChatGPT OpenSCAD to STL →

Got OpenSCAD code from ChatGPT? See it, fix it, export STL.](https://www.forgent3d.com/en/chatgpt-openscad) [### OpenSCAD online viewer →

Just looking? Preview .scad files with the desktop F5 colours.](https://www.forgent3d.com/en/openscad-viewer) [### STL to STEP →

Only have the STL, not the .scad? Convert it to STEP, with planes and cylinders recognized as real CAD surfaces.](https://www.forgent3d.com/en/stl-to-step)
