For READMEs, blogs and docs

Run on CodeUtility Button

Let readers run your code with one click. Paste a snippet, pick its language and copy the button into your README, blog post or documentation. It opens the code in CodeUtility's online editor, ready to run, change and debug, with nothing to install.

Create your button

  1. 1 Paste your code
  2. 2 Pick the language and style
  3. 3 Copy the snippet
Language
Button style
README.md

Example

Run on CodeUtility

This is how your button looks. Click it to try the link.

Your snippet

For GitHub and GitLab READMEs, and most documentation tools.

How it works

  1. Paste the code you want readers to run, and choose its language.
  2. Copy the Markdown or HTML snippet and paste it next to your code sample.
  3. Readers click the button and the code opens in the CodeUtility editor for that language. They can run it, edit it, debug it step by step or ask the AI to explain it.

The code is packed into the link itself, so nothing is uploaded or stored when you create the button.

Where to use it

  • GitHub READMEsLet visitors try your library's example without cloning the repository.
  • Tutorials and blog postsPut a run button under each code sample so readers can experiment as they read.
  • Course materialGive students exercises that open ready to run, on any computer.
  • Docs and answersShow that an example works, and let people change it to fit their case.

Frequently asked questions

What does the Run on CodeUtility button do?

It opens your code in CodeUtility's online editor for that language, ready to run, change and debug. Readers do not need to install anything or copy and paste the code.

Where can I use the button?

Anywhere that accepts Markdown or HTML: GitHub and GitLab READMEs, blog posts, documentation, course pages, forum posts and notes.

Is my code stored on CodeUtility?

No. The code is packed into the link itself (after the # sign), so it is not uploaded when the link is created. Readers who open it get their own copy in the editor.

Is there a size limit?

Keep snippets short, up to about 8 KB of code. Very long links can be cut off by some websites. For larger projects, share a workspace from the editor and use that link instead.

Is it free?

Yes. The button, the editor and running the code are free, and readers do not need an account.