onlinecompiler.io

OnlineCompiler.io for schools

Students write and run code in the browser with no accounts, no installs and no ads, on Chromebooks and school PCs alike. Teachers get runnable examples for their own pages, answer checking against expected output, and pages written for GCSE Python and AP CSA Java. It's free for classroom use.

What students can do, free and without an account

  • Run code in 46 languages. They open the Python or Java online compiler, or any other language, and press Run. If the school's web filter blocks it, ask IT to allow onlinecompiler.io and api.onlinecompiler.io.
  • Check their answers. The online compiler with test cases runs a program against several inputs and marks each one passed or failed.
  • Hand work in with a link. Share makes a link that anyone can open and run, to paste into Google Classroom, Teams or an email. Links made without an account last 90 days.

What teachers can do

  • Put runnable examples in your own pages. With a free account, make a widget key and paste an editor with your starter code into Google Sites, the school's learning platform or any page that accepts an iframe. Embeddable code editor.
  • Check answers in the page. The editor can compare a student's output with the answer you expect and show whether it passed. Checking answers.
  • Follow your course. GCSE Python covers each UK exam board, and AP CSA Java covers AP Computer Science A.
  • Move off Trinket. Trinket shut down on 31 August 2026. The Trinket alternative page covers swapping old links and embeds, and what we don't replace.
  • Run Moodle quizzes. Schools on Moodle can run CodeRunner programming questions here without a server of their own. Moodle CodeRunner.

What it costs

The online compilers are free, with no account. Editors you put in your own pages run on your account's plan: Free has 100,000 runs a month, and a widget key takes 60 runs a minute and 32 waiting at once across all your students. A class pressing Run in the same moment can go over that; those students see a message and press Run again a few seconds later.

  • Free Pro for a link: teachers get Pro free for 12 months for a link to us from a class or school page. Pro takes 600 runs a minute.
  • Founding Institutions: a school can get Pro free for 12 months for its name and logo, a short quote and a link from a course page.
  • Paid plans start at $10 a month. Pricing.

Student data

Students don't sign in, and the editor asks for no names. Each run is kept with its code, input, output and the address it came from for 365 days, as for every run on this site, and a share link keeps its code and input until it expires. The site uses Google Analytics to count visits. Share the privacy policy and the security page with your school's data protection lead before you roll it out; RunCode Inc. signs a data processing agreement on request.

What it doesn't do

  • No turtle, Pygame or tkinter: programs run on a server with no screen. Matplotlib charts do work.
  • No HTML and CSS page preview. JavaScript runs on Node.js, with no page to draw on.
  • No class lists, assignments or teacher view of students' work. Students hand work in as links.
  • Input is typed before the program runs, rather than answered as each prompt appears.

If you need turtle graphics or a class roster, the Trinket alternative page names tools that have them.

Talk to us

Setting it up for a department or a whole school, or need an answer for IT or your data protection lead? We reply to the email you give here; you can also write to hello@onlinecompiler.io.

0/5,000

Frequently asked questions

Is it really free?

Yes. The online compilers need no account and show no ads. Embeds in your own pages run on your free account's 100,000 runs a month, and Free Pro for a link raises your limits for 12 months.

Does it work on Chromebooks and tablets?

Yes. It is a website and the code runs on our servers, so any current browser works and there is nothing to install.

Do students need email addresses or accounts?

No. Only a teacher who puts the editor in their own pages needs an account. A student who wants to keep code longer than a share link's 90 days can sign in and save it.

Can I see what each student wrote?

Not in the editor: there are no class lists or teacher views. Students hand work in by sharing a link to their code, which you open and run.