Free Online Compiler & Coding Playground
Compile, run, and test code instantly across 35+ programming languages in your browser. Features interactive standard input (stdin), full-screen IDE mode, responsive live preview frames, and safe self-hosted execution without third-party dependencies.
Interactive Online IDE & Sandbox
Choose any language from the dropdown menu to write and execute code in real-time.
Ready to Compile & Run
Click the blue ▶ Run button in the header bar or press Ctrl + Enter to compile and execute your Online Python Compiler.
Explore Compilers by Category
Dedicated compiler pages with language-specific guides, stdin instructions, sample algorithms, and instant runtime environments.
Popular Language Compilers
15 compilersHigh-demand compilers including Python, C, C++, Java, JavaScript, TypeScript, Go, Rust, and C#.
Write, run and test Python 3 code in your browser with interactive standard input
Execute modern ES6+ JavaScript code in an isolated high-speed runtime
Type-safe JavaScript playground with instant transpilation and type validation
Multi-pane web editor with live preview, responsive device frames and instant rendering
Interactive React component playground with live state and styling preview
Execute SQL queries, create tables and inspect formatted relational data tables
Execute PHP 8 scripts on a verified host runner with standard output and text input
Compile and run ISO C (C99, C11, C17, C23) code with GCC compiler and standard input
Modern C++ (C++17, C++20, C++23) online compiler with STL, templates and competitive programming support
Compile and run Java code online with OpenJDK, OOP principles and Scanner stdin
Compile and execute memory-safe Rust programs with Cargo standard library
Write, build and run concurrent Go programs with goroutines and channels
Modern C# 12 and .NET 8 online compiler with LINQ and object-oriented syntax
Run Ruby 3 scripts with object-oriented blocks, gems and string processing
Modern, concise Kotlin programming playground with null safety and JVM execution
C and C++ Compilers
2 compilersISO standard C (C99, C11, C17, C23) and C++ (C++11, C++14, C++17, C++20) compilers with memory inspection.
Java & JVM Compilers
3 compilersModern Java JDK, Kotlin, Scala, and Groovy execution playgrounds with standard class libraries.
Compile and run Java code online with OpenJDK, OOP principles and Scanner stdin
Modern, concise Kotlin programming playground with null safety and JVM execution
Dynamic functional Lisp dialect targeting the Java Virtual Machine
Web Development Playgrounds
4 compilersInteractive frontend playgrounds for HTML5, CSS3, JavaScript (ES6+), TypeScript, React JSX, Vue, and Svelte.
Execute modern ES6+ JavaScript code in an isolated high-speed runtime
Type-safe JavaScript playground with instant transpilation and type validation
Multi-pane web editor with live preview, responsive device frames and instant rendering
Interactive React component playground with live state and styling preview
Scripting Language Compilers
6 compilersDynamic scripting runtimes for Python 3, Ruby, PHP 8, Perl, Lua, Bash, and PowerShell.
Write, run and test Python 3 code in your browser with interactive standard input
Execute modern ES6+ JavaScript code in an isolated high-speed runtime
Execute PHP 8 scripts on a verified host runner with standard output and text input
Run PowerShell scripts, test pipelines, objects and command line automation
Run Ruby 3 scripts with object-oriented blocks, gems and string processing
Test Unix shell scripts, loops, piping, sed, awk and terminal command workflows
Systems Programming Compilers
5 compilersLow-level, bare-metal languages including Rust, Go, C, C++, Zig, and x86 Assembly.
Compile and run ISO C (C99, C11, C17, C23) code with GCC compiler and standard input
Modern C++ (C++17, C++20, C++23) online compiler with STL, templates and competitive programming support
Compile and execute memory-safe Rust programs with Cargo standard library
Write, build and run concurrent Go programs with goroutines and channels
Low-level x86/x64 NASM assembly playground with register and memory inspection
Functional Programming Compilers
3 compilersDeclarative and functional languages including Haskell, Elixir, Erlang, Clojure, F#, OCaml, and Lisp.
Purely functional, statically typed programming playground with GHC compiler
Dynamic functional Lisp dialect targeting the Java Virtual Machine
Concurrent, functional language built on the resilient Erlang BEAM runtime
Data Science & Scientific Computing
3 compilersRuntimes for Python scientific computing, R statistical analysis, Julia, and Octave numerical computation.
Write, run and test Python 3 code in your browser with interactive standard input
Execute statistical analysis, data frames, vector arithmetic and R programming online
High-performance scientific, numerical and legacy computing with GNU Fortran
Database & SQL Playgrounds
1 playgroundInteractive SQL query testing, SQLite in-browser database engine, and relational syntax validators.
Shell & Automation Playgrounds
2 compilersCommand line script environments for Bash, sh, PowerShell 5/7, and AWK data processing.
Legacy & Specialized Languages
3 compilersClassic and educational languages: Fortran, COBOL, Pascal, Ada, Prolog, and Assembly dialects.
High-performance scientific, numerical and legacy computing with GNU Fortran
Structured, procedural programming with Free Pascal Compiler (FPC)
Low-level x86/x64 NASM assembly playground with register and memory inspection
Markup & Configuration Playgrounds
3 compilersFormat-specific parsers and validators for JSON, XML, YAML, TOML, Markdown, and Regular Expressions.
Write CommonMark and GitHub Flavored Markdown with instant live HTML rendering
Format, validate, query and inspect JSON structures with error localization
Test regular expressions against sample text with real-time match groups and flags
Built for Speed, Privacy & Daily Practice
Whether you are preparing for coding interviews on LeetCode/CodeChef, learning a new programming language, or testing an API script, ShortTrick delivers a zero-friction playground.
Interactive Standard Input (stdin)
Feed custom test cases into stdin drawers for programs calling scanf, cin, input(), Scanner, or fgets without freezing the browser interface.
100% Client-Side Privacy
Web languages, SQLite databases, Python scripts and formatters run entirely within your browser sandbox. Your proprietary code never leaves your device.
Full-Screen Distraction-Free IDE
Expand the workspace to fill your entire monitor with one click. Switch between side-by-side split, vertical stacked, and mobile viewports effortlessly.