Autograders, code history, and school privacy compliance, all in the same IDE your students already use to write and run code. No downloads required.
No more hand-grading 30 nearly-identical programs. CodeHS runs pre-written or custom test cases the moment a student clicks Run, flagging exactly what passed and what didn't.
My loop runs but everything prints on one line. What am I missing?
Good catch. Look at what your print adds between values by default, then tell it to start a new line each time.
Stuck students message you from inside the editor, with the exact program attached. You reply in context, so there's no email thread and no guessing which line they mean.
You decide whether to turn on an AI tutor that nudges students in the right direction on their own code, never handing over the answer. And AI grading drafts a score and feedback on rubric work for you to review, adjust, and post.
Stuck on the guessing game, it never says I win even when my number is right.
What type does the input come back as? A typed "7" and the number 7 aren’t equal yet, try converting before you compare them.
CodeHS saves every version as students work, so you can see how a program came together. Pasted code is flagged automatically, so a block that appears all at once stands out, giving you the context for an honest conversation.
Paste flagging, AI hints, and AI-suggested grades are part of CodeHS Pro.
Beginners build real programs with drag-and-drop blocks, then flip the same project to text when they're ready. Same concepts, no syntax errors to fight on day one.
You know your students best. Blocks, copy/paste prevention, editor engine: the IDE settings for each class are yours to set. Configure per section or even per student. Block-based coding isn’t a phase students age out of. It’s a switch you turn on when it helps and off when they’re ready for text.
One IDE with everything teachers need to run a great class. No plugins, no setup, no extra cost.
Walk through programs line-by-line to find bugs in your code with the built-in debugger.
Code on any device. Chromebooks, iPads, tablets, or desktop. All you need is a browser.
CodeHS saves every keystroke to the cloud, so students never lose their work.
Reference syntax rules and language docs without leaving the IDE.
Download your code any time. It works in other IDEs too.
The CodeHS IDE meets school and district privacy and data requirements, including COPPA and FERPA.
Smart suggestions complete code and close brackets as students type, in both the Monaco and Ace editor engines.
Switch the editor between light, dark, and high-contrast themes like Monokai, so every student codes comfortably.
High-contrast themes, adjustable font sizes, and screen-reader-friendly settings make coding accessible to all students.
No account is required to try the IDE. Students can start coding immediately for free. For classroom features like autograders, code history, and teacher messaging, a free CodeHS account is needed.
Yes. The CodeHS IDE runs entirely in the browser with no downloads, installs, or plugins. It works on Chromebooks, Windows, Mac, iPad, and any device with a modern browser.
The CodeHS IDE supports 10+ languages including JavaScript, Python, Java, HTML/CSS, C++, SQL, Lua, C, C#, p5js, and bash, plus Karel, Turtle, and block coding for beginners. New languages are added regularly.
Karel the Dog is how millions of students write their first program on CodeHS. Karel lives in a grid world and knows just four commands: move, turn left, put down a tennis ball, and pick one up. Students teach Karel new tricks with functions, loops, and conditions, learning core programming ideas before syntax gets in the way. Karel builds on Karel the Robot, created by Stanford professor Rich Pattis in 1981, and works in JavaScript, Python, and Java. Meet Karel the Dog.
Tracy the Turtle is how CodeHS students learn Python by drawing. Students write real Python commands like forward(100) and right(90), press Run, and watch Tracy draw the result on a canvas, so every bug is visible and every loop becomes a pattern. Tracy is inspired by Seymour Papert's Logo turtle, and grows with students from a first square to recursive fractals and generative art. Meet Tracy the Turtle.
Autograders run a set of test cases against a student's program the moment they click Check Code. You can use CodeHS's pre-built tests or write your own. Results show which tests passed or failed with a message explaining why.
Yes. The CodeHS IDE is free to use: anyone can write, run, and save code in the browser, no account required. A free teacher account adds classes, assignments, student messaging, in-editor code history, and built-in autograders that give students instant feedback. CodeHS Pro adds AI grading, AI student hints, and academic-integrity tools.
Yes. The CodeHS Sandbox lets students save their own programs in the cloud. Sharing is controlled by teachers and schools, who can enable or disable the feature. When sharing is enabled, students can share programs with a link or embed them on other websites.
Yes. Students can upload images and other files from their computer directly into a program, and uploading a .zip file unpacks the whole project into the editor's file tree. Code written in another IDE can be imported and picked up right where it left off.
Yes. In Python, students list packages in a requirements.txt file and the CodeHS IDE installs them from PyPI automatically when the program runs. Java programs can run with .jar files, so classes can build on real libraries the way professional developers do.
Yes. CodeHS is COPPA and FERPA compliant and has signed Student Data Privacy Consortium (SDPC) agreements with many districts. We never sell student data and provide data processing agreements for schools that require them. See our privacy center for details.
Join thousands of CS teachers using CodeHS to autograde, give feedback, and track student progress, all without leaving the editor.
Free to start. Nothing to install.