What is Carbon (carbon.now.sh)?
Updated
Carbon is a free web tool that turns source code into polished, shareable images. You paste or drop code into the text area, adjust the theme, language, and background, then export the result as an image. It fits anyone who wants a code snippet to look presentable on social media, in slides, or in documentation — and it needs no installation, just a browser.
What Carbon does
The site's own description is direct: "Create and share beautiful images of your source code." The workflow is built around a single text area:
- Start typing code directly into the text area, or
- Drop a file into it to load existing code.
From there, Carbon renders the code inside a styled window that you can customize before exporting.
The customization options
The interface exposes a set of controls for how the final image looks:
| Control | What it affects |
|---|---|
| Theme | The color scheme applied to the code and window |
| Language | Syntax highlighting for the code you entered |
| Background | The backdrop behind the code window |
| Settings menu | Additional appearance options |
| Export menu | How you save or share the result |
There are also Copy, Tweet, and Share actions, plus a Quick export option, so you can move the image out of Carbon without a separate download step if you prefer.
Who it's for
Carbon is useful when raw code in a plain text block looks flat and you want something more visual:
- Social posts — sharing a snippet on Twitter/X or similar platforms where a styled image reads better than plain text.
- Presentations — dropping a clean code image into slides instead of fighting with monospace fonts.
- Documentation and tutorials — illustrating a specific block of code with consistent styling.
Because the tool runs in the browser and takes either typed input or a dropped file, it works for quick one-off snippets as well as repeated use.
Practical notes
- The site is created by @carbon_app, and the page links to about, source, terms, privacy, and offsets pages if you want more background.
- A Sign in/up option exists, but the core create-and-export flow is presented as the primary action on the landing page — you can start typing or dropping a file immediately.
- The page itself does not state pricing, so treat cost as unconfirmed rather than assuming it is free or paid.
If your goal is simply to make a code snippet look good enough to share, Carbon covers that in a few steps: enter the code, pick a theme and background, then export.