XKB Keymap Editor

This is an online editor for XKB keymap files (.xkb, also known as XKB keymap descriptions, XKB keymap sources, XKB keyboard descriptions, or XKB configuration files). It generates a live preview of the keyboard based on the provided geometry.

XKB keymaps include five components that are needed to configure a keyboard: keycodes, compat, geometry, symbols, and types (together called KcCGST).

You can use include statements to import files from the xkeyboard-config database.

This editor runs in the browser and uses the following programs compiled to WebAssembly: xkbcomp, xkbprint, gs, and pdf2svg. It also implements simple syntax highlighting for the XKB text format.

See also

  • Mac Keylayout Testing Tool - View, edit, and debug .keylayout files (XML keyboard layout definitions) for macOS.
  • ZMK Keymap Editor - An online editor for ZMK .keymap files.
  • KMN Editor - An online editor for Keyman keyboard source files (Keyman keyboard language files, .kmn files).

Made by Anton Vasetenkov.

If you want to say hi, you can reach me on LinkedIn or via email. If you like my work, you can support me by buying me a coffee.