Skip to main content
Sharing CodeHS Programs

Create a shareable link for visitors to run any CodeHS exercise

Zach Galant avatar
Written by Zach Galant
Updated over a week ago

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.

An option on the Share tab is whether the share link is Public. If you set it to Public, then anyone with this link will be able to view the program, otherwise only the student and their teacher will be able to view the program.

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 hello@codehs.com to learn more!

Did this answer your question?