Paste a snippet, pick a theme and background, and export a crisp PNG in seconds. No signup, no watermark, everything runs in your browser.
Paste your snippet and pick a theme. Line numbers and a macOS title bar are optional.
Turn the Background switch off for a transparent PNG that sits cleanly on both GitHub light and dark mode, or keep a gradient for a hero image.
Export at 2x so the image stays sharp on high-density screens, then save it in your repository, for example docs/code-example.png.
Reference it from README.md with a relative path and descriptive alt text.
Embed it in README.md:
Or show a separate image in GitHub dark mode:
<picture>
<source media="(prefers-color-scheme: dark)" srcset="./docs/code-dark.png">
<img alt="fetchUser returns a typed User from the API" src="./docs/code-light.png" width="720">
</picture>Coming from another tool? See how it compares to Carbon and Ray.so, or explore the code snippet feature.