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 far right: 

Screenshot showing More > Share to share programs

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: 

Screenshot of the Share link that generates with a Facebook, Twitter, and Public setting

If anyone goes to that Share URL, they will see a shared program page that looks something like this:

Screenshot of the Run view of a shared program

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 to Public, then anyone this 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 sandbox here: Sharing Sandbox Programs


Still have questions? Contact our team at hello@codehs.com to learn more!

Did this answer your question?