Author:
ldub2424
How to use OnlineCode
March 17, 2026
Using OnlineCode might look scary, with a lot of buttons, keybinds, text, and languages. It is actually more simple than you think!
Let's start with the basics; OnlineCode is a code editing and execution site, and is kind of similar to an IDE. If you have no code experience, I would recomend using Python to start. Python is a easy-to-use and easy-to-learn programming language. In Python, you can create a simple script to say something, just put in "print("Hello, world!")" and you got your first script! Hit the run button, or Ctrl/Cmd + Enter to run. The output should say "Hello, world!"
Enough with the Python script, time to know the languages!
In OnlineCode, there is a lot. Let's start with the languages. The Python language is not like real Python, in a real IDE. It is in a browser, and because of that, Python execution is limited. We cannot make custom pop-ups, windows, we can't even use tkinter! You can write with it, but you have to execute it in a command prompt, or IDE software. But, we can still use imports like "random" and "time!" JavaScript, Lua, and PHP are also similar to this, a little limited. HTML/XML can be written in, and executed just fine. I even tested the HTML for the coding part code in OnlineCode! JSON, C, C++, and C# are unfortunatly not possible to use in OnlineCode, browsers are limited, and I couldn't find a way for those to execute. JSON also doesn't execute without a programming language to tell it to run. JSON, C, C++, and C# just have syntax highlighting.
All the buttons, explained!
In OnlineCode, there are a few buttons, Run, Stop, Split View, Stacked View, Copy Code, Copy Console, Save File, Clear Console, Clear Editor*. The Run button can be clicked, and it executes code. If the code has delay, the Run button becomes the Stop button. The Stop button stops the execution of the code. The Split View button will place the code editor on the left side, and console on the right side. The Stacked View button will place the console and code editor in the default orientation, code editor on the top, console on the bottom. When the Split View button is pressed, it will become the Stacked View button, and vis versa. The Copy Code button, well, copies the code in the code editor. The Copy Console button, again, copies not the code, but the console. The Save File button will, save the file. You can change the name, by default it is "script.FILE EXTENSION." You can change the directory, it is a normal download! Clear Console, well, clears the console! Clear Editor is supposed to clear the editor, but it is currently bugged (as of March 17, 2026) and is soon to be fixed, or removed, or polished up.
All the keybinds, explained!
In OnlineCode, there are also a few keybinds. Some are just quick button replacements, and some are unique. The first keybind is Ctrl/Cmd + Enter to run. It is a simple replacement for clicking the Run button. The next keybind is Ctrl/Cmd + F will search* (only whilst editing the code). When you execute the Keyword Search, a small bar will appear at the top, you type in what you want to find, and every instance of it is highlighted. You can erase the highlight by erasing what to find. Ctrl/Cmd + Q will clear the console. Ctrl/Cmd + S will save your script.