Guide · updated November 2026
Open source game engines you can own all the way down.
An open source engine lets you read, change and ship its code with no royalties and no licence that can change under you. Here are the best ones for 2D, 3D and the web, with the licence each uses and what that means for your game.
- MIT, Apache, zlib
- 2D, 3D and web
- Languages
- Licence explainer
What is the best open source game engine?
Godot is the best open source game engine for most games: MIT licensed, full editor, 2D and 3D, desktop, mobile and web exports. Bevy (Rust) is the rising code-first choice, O3DE suits large 3D projects, and three.js, Babylon.js and Phaser are the open source standards for browser games.
The best open source game engines
- 1
Godot
Best overallA complete engine with editor, scene system, animation, physics, GDScript and C#. Developed by a large community and funded by a non-profit foundation.
- Licence
- MIT
- Language
- GDScript, C#, C++
Good- Full-featured editor
- 2D and 3D
- All major platforms
Watch out- Consoles via third parties
- High-end 3D behind commercial engines
Best for: Indie games of every kind
- 2
Bevy
Best code-first engineA data-driven engine in Rust built around an entity-component-system. Very fast, very modern, and still pre-1.0, so APIs change between releases.
- Licence
- MIT / Apache 2.0
- Language
- Rust
Good- Excellent performance
- Clean ECS design
- Compiles to WebAssembly
Watch out- No full editor yet
- Breaking changes each release
- Rust learning curve
Best for: Programmers who like Rust and systems-heavy games
- 3
O3DE
Biggest 3D feature setOpen 3D Engine, run by the Linux Foundation and descended from Amazon Lumberyard. A modular, AAA-style 3D engine with a heavy editor.
- Licence
- Apache 2.0 / MIT
- Language
- C++, Lua, Script Canvas
Good- Advanced rendering
- Modular gems
- Foundation-backed
Watch out- Heavy hardware needs
- Smaller indie community
- Steep learning curve
Best for: Large 3D projects and simulations
- 4
Stride
Best for C# developersA C# engine with a full editor, formerly Xenko. Feels familiar to Unity users and is fully open.
- Licence
- MIT
- Language
- C#
Good- C# everywhere
- Good editor
- VR support
Watch out- Windows-centric editor
- Smaller community
Best for: Unity users who want open source
- 5
Raylib
Best for learning CA simple C library for games with bindings for dozens of languages. No editor, just clean functions to draw, play sound and read input.
- Licence
- zlib
- Language
- C (+ bindings)
Good- Tiny and simple
- Great for teaching
- Runs everywhere, including the web
Watch out- Not an engine: no scenes or editor
Best for: Learning, jams and small games
- 6
LÖVE
Best 2D framework in LuaA long-lived 2D framework in Lua that many indie hits and countless jam games were built with.
- Licence
- zlib
- Language
- Lua
Good- Simple, fast
- Easy to distribute
Watch out- No editor
- 2D only
Best for: 2D games by programmers
- 7
three.js, Babylon.js, Phaser
Open source for the webThe three open source pillars of browser games: three.js and Babylon.js for 3D, Phaser for 2D. See the browser engines guide for the full comparison.
- Licence
- MIT, Apache 2.0, MIT
- Language
- JavaScript / TypeScript
Good- Run in any browser
- Huge communities
- Permissive licences
Watch out- Code-first; editors are separate products
Best for: Web games
What the licences mean for your game
| Licence | Used by | Can I sell my game? | Must I share my game's code? | What you must do |
|---|---|---|---|---|
| MIT | Godot, Stride, Phaser, three.js | Yes | No | Keep the engine's copyright notice (a credits or licence screen) |
| Apache 2.0 | Babylon.js, O3DE, Bevy (dual) | Yes | No | Keep the notice; note changes to engine files |
| zlib | Raylib, LÖVE | Yes | No | Don't claim you wrote the engine |
| GPL | Some smaller engines | Yes | Yes, if you distribute | Release your game's source under GPL |
Not legal advice. Read the licence file that ships with the engine version you use.
Why developers move to open source engines
The big reason since 2023 has been trust: when a commercial engine changes its pricing, every game built on it is exposed. With an MIT engine the terms you shipped under are the terms you keep, and if the project ever stopped you would still have the code.
The second reason is control. You can fix an engine bug yourself instead of waiting, strip out what you don't use to make builds smaller, or add a feature your game needs. The trade-off is fewer ready-made assets and plug-ins than Unity or Unreal, and console ports usually go through specialist companies.
Frequently asked questions
Is Godot really free?
Yes. Godot is MIT licensed: free for any use, commercial included, with no royalties, no revenue share and no account. You only need to keep its licence notice in your game.
What are the most common game engines?
Unity and Unreal are the most used commercial engines; Godot is the most used open source engine. On the web, three.js and Phaser lead.
Is there an open source alternative to Unreal for 3D?
O3DE is the closest in scope. Godot 4 is easier and good for most indie 3D, but not at Unreal's high end.
Can I sell a game made with an open source engine?
Yes, with MIT, Apache 2.0 and zlib engines you can sell freely and keep your own code private. Only copyleft licences like GPL would require you to share your game's source.
What does open source mean for a game?
That the engine's source code is public and you may use, change and redistribute it under its licence. Your game itself does not become open source unless you choose to, or the engine uses a copyleft licence.
EvonX AI game maker
Got the asset? Now make the game.
Describe your game in one sentence and EvonX builds it: code, art, sound and a link you can share. Free to start, no download, plays on any phone.