Learn how to use the Geometry Dash level editor and create levels through tutorials and guides.
G.js
Create Geometry Dash levels in JavaScript with G.js, using syntax similar to SPWN.

About G.js
G.js is a GitHub repository for creating Geometry Dash levels with JavaScript and a syntax similar to SPWN. It describes itself as a way to write level content in code, then export it for use with Geometry Dash. The project can be installed as an npm package, @g-js-api/g.js.
With G.js, you can configure exports to formats such as levelstring, savefile, live_editor, or gmd. The API supports trigger functions, objects, groups, and colors, and provides helpers for next-free IDs, ranges, counters, and conditions. A quick example shows moving text, trigger loops, context handling, and background flashes.
The repository includes docs, tutorials, source files, and type definitions. Supported platforms include Windows, macOS, Linux, and Android. G.js currently uses a global-first API, with a safe import option for those who want to avoid overriding global variables. It suits people who already know JavaScript and want to build or script Geometry Dash levels rather than use only the in-game editor.
Key features
- Create Geometry Dash levels in JavaScript with SPWN-like syntax.
- Install through npm as @g-js-api/g.js.
- Runs on Windows, macOS, Linux, and Android.
- Exports levelstring, savefile, live editor, and GMD files.
- Uses trigger functions, objects, groups, counters, and conditions.
- Provides a global-first API and a safe import option.
- Uses familiar JavaScript and SPWN-like syntax.
- Supports several Geometry Dash export modes.
- Includes repository folders for docs and tutorials.
- Works across Windows, macOS, Linux, and Android.
- Requires JavaScript knowledge and setup before use.
- The global-first API may override global variables unless the safe import is used.
- Live editor export requires the WSLiveEditor mod.
G.js at a glance
- Website
- github.com/g-js-api/G.js
- Category
- Gaming › Game Guides, Wikis & Tools
- Type
- Open-source project
- Pricing
- Not confirmed. Check the site
- Open source
- Not stated
- Language
- English
- Last checked
- Oct 5, 2026 · Online when checked
- Listed
- Oct 5, 2026
G.js alternatives
Tools and sites you could use instead, ranked by how closely they match.
Explore GMDprivateServer, a community server project for Geometry Dash.
Browse website content for Geometry Dash Creator School through the GDCS repository.
Song File Hub helps Geometry Dash players find and download songs that are not on Newgrounds.
3Dash offers a three-dimensional version of Geometry Dash, according to its project description.
Load community-created mods for Geometry Dash with the Geode mod loader.
Popular in Game Guides, Wikis & Tools
Well-known listings from the same topic.
G.js FAQ
What is G.js?
How do I install G.js?
What export types does G.js support?
Is G.js free?
Tell us and an editor will check it.
Claim the listing and suggest updates yourself. An editor checks every claim first.










