A simple and easy-to-use raygui layouts editor.

Useful for custom tools layout creation. The best tool companion for rGuiStyler and rGuiIcons.

rGuiLayout can be used for free as a WebAssembly online tool and it can also be downloaded as a standalone tool for Windows and Linux.

WARNING: This tool targets raygui 4.0

rGuiLayout Features

  • 25 gui controls to define your immmediate-mode gui layout
  • Place controls and move/scale them freely
  • Snap to grid mode for maximum precission
  • Link controls to anchors for better organization
  • Edit controls text and code name (for exported variables)
  • Icon selection panel on control text edition
  • Load/Save your layouts as .rgl text files
  • Supports .png image loading to be used as tracemap
  • Support for custom code templates to generate your controls code
  • Export layout directly as plain C code, ready to edit and compile
  • Multiple GUI styles available with support for custom ones (.rgs)
  • Free and open-source

rGuiLayout Standalone Additional Features

  • Command-line support for .rgl to .c/.h conversion
  • Completely portable (single-file, no-dependencies)

rGuiLayout Usage

For detailed usage information, check provided USAGE.md file.

The tool works with mouse and several key shortcuts that can be viewed with F1 key.

Use mouse wheel to navigate along the available controls or select them on right controls panel, place them on the main grid and scale as required.

Load and Save .rgl layout files to keep working on custom layouts.

Export layouts as code, Code Generation Window offers multiple export options to generate the code.

rGuiLayout Standalone comes with command-line support for batch conversion. For usage help:

rguilayout.exe --help

rGuiLayout License

rGuiLayout source code is distributed as open source, licensed under an unmodified zlib/libpng license.

rGuiLayout binaries are completely free for anyone willing to compile them directly from source.

rGuiLayout Standalone desktop tool could be downloaded with a small donation.

In any case, consider a donation to help the author keep working on software for games development.

Copyright (c) 2015-2023 raylib technologies (@raylibtech)

PlatformsWindows, macOS, Linux, HTML5
Rated 5.0 out of 5 stars
(5 total ratings)
Authorraylib technologies
Made withraylib
Tagseditor, raygui, raylib, tool
Code licensezlib License
Average sessionAbout a half-hour
InputsKeyboard, Mouse
LinksHomepage, Twitter, Source code, Steam, LinkedIn


Download NowName your own price

Click download now to get access to the following files:

rGuiLayout v4.0 Windows (x64) 394 kB
rGuiLayout v4.0 Linux (x64) 401 kB
rGuiLayout v4.0 macOS (x64 + arm64) 777 kB

Development log


Log in with itch.io to leave a comment.

This is a really nice tool, Good job! Would be nice if we could zoom in/out, Also if we could choose the resolution, My App screenWidth and screenHeight don't match the tool resolution.

This tool is intended for pixel-perfect raygui designs so scaling was not exposed but it could probably be added. 

About resolution, what do you mean? Independently of the scaling the resolution of the created layout is always the same...

The lack of tooltips makes this awkward to use.

Maybe it is just my browser, but when I go to the downloads page it does not show the downloads files?

The web version can be used for free but the desktop versions require a donation of $20 or more.

Ahh I see, thank you!

Not now at least


I have a 4k display and unfortunately this program renders too small to use on it.  It would be nice to see implemented an option to increase the scaling like in the sound effect generator.