Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Run Code OnlineNew to Visual Studio Code? Get it now.
Run Code Online

Run Code Online

Ben Meehan

|
8,442 installs
| (1) | Free
Run code online directly from VSCode
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Run Code Online VSCode Extension

Run Code Online is a Visual Studio Code extension that allows you to compile and run code from multiple programming languages using an online compiler API. It simplifies the process of code execution by sending your code to the API, capturing the output, and displaying it in the editor.

NOTE : This extension does not support GUI apps.

demo.gif

Supported Languages

Run Code Online currently supports the following programming languages:

  • C++
  • C
  • Python
  • Java
  • Javascript
  • Go
  • Rust
  • more to be added soon...

Features

  • Supports multiple programming languages.
  • Automatic language detection based on the file extension.
  • Ability to provide custom inputs for code execution.
  • Easy-to-use interface with a command and status bar integration.
  • Saves the output in a separate file for reference.

Installation

  1. Launch Visual Studio Code.
  2. Go to the Extensions view (Ctrl+Shift+X).
  3. Search for "Run Code Online" and click Install.
  4. Once installed, the extension is ready to use.

Usage

  1. Open a file with the code you want to run.
  2. Optionally, create an input.txt file in the same directory to provide custom inputs.
  3. Press Ctrl+Shift+P (or Cmd+Shift+P on macOS) to open the Command Palette.
  4. Type "CodeOnline: run" and select the command.
  5. The extension will compile the code and display the output in the editor.
  6. Check the output file (YOUR_FILE_NAME-output.txt) for reference.

Feedback and Support

If you encounter any issues or have suggestions for improvement, please don't hesitate to raise an issue on benmeehan111@gmail.com. Your feedback is valuable and appreciated.

Enjoy coding with CodeOnline!

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft