Tkinter Designer
Untitled •
Sign in to save
My Application – □ ✕
main.py generated · read-only · tkinter
About this tkinter GUI builder ↓

Online tkinter GUI builder

This is a free, browser-based designer for Python's tkinter. Drag widgets onto a window, arrange them on a canvas that mirrors how tkinter really draws them, and download a clean, class-based main.py you can run with python main.py. There's nothing to install, and no account is needed until you want to save a design.

How it works

  1. Drag widgets from the palette. Labels, buttons, entries, text boxes, listboxes, checkbuttons, radiobuttons, comboboxes, option menus, spinboxes, sliders, progress bars, scrollbars, separators, canvases, frames, label frames, notebook tabs and treeview tables. Drop one inside a frame or a tab to nest it.
  2. Set properties in the inspector. Text, fonts, colours, ranges and list items, plus event bindings that generate handler stubs for you.
  3. Download the Python. The code panel updates as you work, so you can see exactly what each change produces before you export it.

Two toolkits from one design

The Toolkit button switches between standard tkinter, which needs nothing beyond Python itself, and CustomTkinter, which gives you modern rounded widgets with light and dark modes. Your layout and handler code carry across either way, and only the generated code and the canvas appearance change.

Beyond a single window

Add more forms and each becomes its own window class, wired together with open_<form>() helpers so a login screen can open a main window. Turn on the database layer and you also get a separate database.py with a ready-made SQLite class shared across your forms. Project-wide themes and fonts apply everywhere and are baked into the export.

Already have code?

Paste existing tkinter into File → Import Python and keep editing it visually. Your place()-positioned widgets, event handlers and imports are preserved when you export again, so the builder is useful for projects that already exist, not just new ones.