Whenever you write a program on CodeHS, you can create a shareable link for that program to send to other people so they can run your program.
When you view any program from its editor page, you can access the Share tab from the More tab on the top right:
You can then click the Create Share Link button, and you will have a link to send to others for them to run your program:
If anyone goes to that Share URL, they will see a shared program page that looks something like this:
Note: On CodeHS exercises, you will not be able to share the code.
The Share tab also lets you choose whether the share link is Public. Public programs can be viewed by anyone with the link. Otherwise, the program can only be viewed by the student and their teacher, plus classmates in their section if the teacher allows it.
Note: Depending on the program type and your school's settings, students may not see the Public option, or may only be able to share within their section.
Student HTML programs are private by default, and logged-out users can't create shareable programs. To learn how program privacy works and how teachers can turn on sharing, see Managing Student Access to Public Programs on CodeHS.
Sharing a CodeHS Sandbox Program
Looking to share your code along with your running program? Using the CodeHS Sandbox allows more sharing options, including the ability to share the code. Read more about sharing programs through the Sandbox here: Sharing Sandbox Programs
Still have questions? Contact our team at support@codehs.com to learn more!



