Help & Documentation

Take a look at these documents to learn more about how to use trinket.

Can't find what you're looking for? Contact us!


Getting Started


Frequently Asked Questions

What is trinket?

trinket is an all-in-one, browser-based coding environment designed for education. Teachers and students use it to write and run code during class, and to build interactive projects and courses to share with others.

How can I get started with trinket?

Try one of the sample projects on your My Trinkets page. If you're new to Python, work through the free activities on our Hour of Python courses, or read the guides in our documentation.

How do I add an interactive trinket to my website?

Save your trinket, then open the Share options and copy the embed code, which looks like this:
<iframe src="https://trinket.io/embed/python/b9b4074bb7" width="100%" height="400" frameborder="0" marginwidth="0" marginheight="0" allowfullscreen></iframe>
Paste it into the HTML of your web page. Learn more about embedding trinkets here.

Is trinket free?

Yes. This is the open source version of trinket, so every feature is free for everyone. Grab the code on GitHub.

Our Documentation Courses


Teaching with trinket

Learn more and get ideas about teaching with trinket from Part 3 of our trinket documentation course.


Self-Hosting & Development

Trinket is open source software. For information on running your own instance, or to report bugs and request features, see the GitHub repository.