# STL Converters ASCII / Binary

<p class="callout info">STL zu STEP Format: [https://github.com/slugdev/stltostp](https://github.com/slugdev/stltostp)</p>

## OpenJSCAD

OpenJSCAD can convert a lot of formats like SVG, DXF, X3D, AMF, SCAD and JSCAD.

[<span>https://en.wikibooks.org/wiki/OpenJSCAD\_User\_Guide#Via\_Command-Line</span>](https://en.wikibooks.org/wiki/OpenJSCAD_User_Guide#Via_Command-Line)

## admesh

[<span>https://github.com/admesh/admesh</span>](https://github.com/admesh/admesh)

```bash
git clone https://github.com/admesh/admesh.git
cd admesh
./autogen.sh
./configure
make
 
#copy admesh and .libs folder to another place to separate unrequired files
 
#you can also install by
sudo dnf install admesh
 
#convert all stl files to binary, even if they are already binary
find ./ -maxdepth 1 -type f \( -iname \*.stl -o -iname \*.STL \) -exec admesh -b {} {} \;
```

### STLConverter.exe

[<span>http://www.johann-oberdorfer.eu/blog/2018/01/12/18-01-12\_stl\_files\_convert\_from\_ascii2binary</span>](http://www.johann-oberdorfer.eu/blog/2018/01/12/18-01-12_stl_files_convert_from_ascii2binary)

# convertSTL

<p class="callout warning">**has some bugs which might empty your files!**</p>

[https://github.com/cmpolis/convertSTL](https://github.com/cmpolis/convertSTL)

### Download and install Ruby

[<span>https://github.com/oneclick/rubyinstaller2/releases/download/RubyInstaller-2.7.0-1/rubyinstaller-2.7.0-1-x64.exe</span>](https://github.com/oneclick/rubyinstaller2/releases/download/RubyInstaller-2.7.0-1/rubyinstaller-2.7.0-1-x64.exe)

```bash
#run cmd
gem install ocra
```

### Build convertSTL.exe

```bash
git clone https://github.com/cmpolis/convertSTL.git
cd convertSTL/
ocra convertSTL.rb
```