Skip to content

Code Playground Documentation

Guide to the web code playground with 53 runtimes, 10 editor themes, 45 keyboard commands, Vim mode, Emmet support, AI code assistance, and instant sharing.

Last updated: October 11, 2026

Getting Started

  1. Choose a Runtime

    Select from 53 runtimes including JavaScript, TypeScript, Python, Java, C++, Go, Rust, Ruby, PHP, Swift, Kotlin, C#, and many more. Each runtime comes with proper syntax highlighting, runtime-aware auto-completion, and appropriate formatting rules. The runtime selector is searchable for quick access.

  2. Write Your Code

    Write code in a full-featured editor with syntax highlighting, intelligent auto-completion, bracket matching, line numbers, code folding, and find/replace.

  3. Run & Share

    Run supported snippets in the playground, review console output, format code, and create shareable links when you are ready to collaborate. Avoid putting secrets in shared snippets.

What is the Code Playground?

The Code Playground is a full-featured web IDE that lets you write, run, and share code in 53 runtimes without installing anything.

Whether you are prototyping a quick script, teaching a class, or debugging a snippet, the Code Playground gives you a zero-setup development environment accessible from any modern device.

53 Supported Runtimes

JavaScript, TypeScript, Python, Java, C, C++, C#, Go, Rust, Ruby, PHP, Swift, Kotlin, Scala, Haskell, Lua, R, MATLAB, SQL, HTML, CSS, SCSS, Less, JSON, XML, YAML, TOML, Markdown, Shell/Bash, PowerShell, Perl, Dart, Elixir, Clojure, F#, Erlang, OCaml, Zig, Nim, Crystal, Julia, Groovy, Assembly, WGSL, Dockerfile, GraphQL, Protobuf, Solidity, Svelte, Vue, JSX, TSX, and GLSL. Each runtime includes tailored syntax highlighting, runtime-aware autocompletion, and formatting rules.

Editor Features

  • Syntax highlighting and runtime-aware autocompletion for all 53 runtimes
  • 10 editor themes — from light to dark — with live preview switching
  • 45 keyboard commands including run (Ctrl+Enter), format (Ctrl+S), and find/replace (Ctrl+H)
  • Vim mode with full Normal, Insert, and Visual mode keybindings
  • Emmet abbreviation expansion for rapid HTML and CSS authoring
  • Code folding, bracket matching, minimap, line numbers, and word wrap toggle

10 Editor Themes

Choose from 10 carefully crafted themes designed for comfortable coding in any lighting condition. Themes affect editor colors, background, and UI elements.

  • Dark+
  • Light+
  • Monokai
  • Dracula
  • Solarized Dark
  • Solarized Light
  • One Dark Pro
  • GitHub Dark
  • Nord
  • Catppuccin Mocha

Command Palette & 45 Keyboard Shortcuts

Access all 45 editor commands from the integrated command palette. Key shortcuts include Ctrl+Enter (run), Ctrl+S (format), Ctrl+/ (toggle comments), Ctrl+H (find & replace), Ctrl+D (select next occurrence), Ctrl+L (select line), Ctrl+Shift+K (delete line), Alt+Up/Down (move line), and Ctrl+Shift+P (open palette). Every shortcut is also available from the menu for discoverability.

Key Features

  • Integrated Output Terminal

    The output terminal displays console output, runtime errors, and execution results as you work. Standard output and standard error are color-coded for easy distinction.

  • Sharing & File Management

    Generate shareable links for collaboration, download code as files, and keep examples tidy with the file tools. Avoid sharing secrets or private credentials in snippets.

  • AI Code Assistant

    The integrated AI assistant panel offers inline code suggestions, explanations, and refactoring help. Use sample code when asking for help with private or sensitive projects.

Vim & Emacs Mode

Power users can enable Vim mode for full modal editing — Normal, Insert, Visual, and Visual Line modes with all standard motions (h/j/k/l, w/b/e, gg/G), operators (d/c/y), text objects (iw, i", a{), and Ex commands (:w, :q, :s). Emmet is also available for rapid HTML/CSS expansion with Tab-triggered abbreviations.