Carbon vs Ray.so comes down to one question: which one renders your snippet more cleanly? Both are browser tools for turning a code snippet into an image. We don't have a dated, checked record of either site's current features, so the reliable way to choose is to run the same snippet through both and compare the results. The test below takes a few minutes.
We make Picbolt, which also turns code into images, so weigh our view accordingly. We've tried to be fair to every tool here.
Carbon vs Ray.so: the quick verdict
- Pick whichever wins the side-by-side test for your language, theme and target platform. The things that decide it are correct highlighting, a readable light theme, export sharpness and how long lines are handled, and all of them depend on your snippet.
- Consider a different tool if you'd rather capture code without leaving VS Code (CodeSnap). Also consider one if you want a device frame, 3D tilt or code inside a larger graphic with arrows and text. Picbolt does those, covered below. We haven't checked whether Carbon or Ray.so do.
What this comparison covers
As of November 2026, we have no dated source for Carbon's or Ray.so's theme lists, language lists or export settings, and both sites can change. So we don't quote specs for them. Instead, this page lists the checks that decide the choice and shows you how to run them. Every Picbolt detail comes from our own product.
Feature table: what to compare and how to check it
| What to check | Why it matters | How to check on Carbon and Ray.so | Picbolt code images (as of November 2026) |
|---|---|---|---|
| Your language is highlighted | Without highlighting, the image reads as plain text | Paste real code and look for coloured keywords, strings and comments | 17 languages listed. YAML, Vue and Svelte show as plain text. No auto-detection |
| A light theme | White docs pages and light slides | Look through the theme list for light options | 19 themes, including Github Light, Xcode Light and Console Light |
| Line numbers | Tutorials that say "see line 12" | Look for a line-number toggle | Not available |
| Padding and background | Spacing, brand colours, transparent PNGs | Change the padding, try a transparent background, export | Padding 0–10 rem, background library in the BG tab, Transparent option |
| Window frame | Window buttons tell viewers it's code | Look for window controls and an editable title | macOS and Windows frames with window buttons and an editable title |
| Long lines | Very wide images get shrunk in social feeds | Paste a line of 120 or more characters | Long lines wrap |
| Export format and scale | Sharp text on high-density screens and slides | Export at the highest scale offered, then check pixel dimensions | PNG and JPEG at 1x on the free plan. 2x to 8x, WEBP and SVG on Lifetime |
| Copy to clipboard | Paste straight into a post or doc | Look for a copy button | Copy puts a PNG on the clipboard |
| Fixed output sizes | Matching a platform's image shape | Look for size or aspect-ratio settings | 24 aspect-ratio presets including Auto, such as 1:1 at 1080×1080 and 16:9 at 1920×1080 (sizes at 1x) |
Run the same snippet through both
- Pick a snippet that looks like what you actually share: 15 to 25 lines, with a comment, a string and one long line.
- Open Carbon and Ray.so in two browser tabs.
- Paste the snippet into each one.
- If a tool lets you set the language, set it yourself. That way you're judging the highlighting, not the language detection.
- Choose the closest matching theme in each, dark against dark or light against light.
- Set similar padding and background in both.
- Export from each as PNG, if offered, at the highest scale available.
- View both images at the size your audience will see them. For X or LinkedIn, check on a phone. For a talk, check on the actual slide.
- Compare pixel dimensions and file sizes. On a Mac, select the file in Finder and press ⌘I (Command-I) to see both.
Pick the one where the smallest character is still readable on a phone and the colours suit where the image will appear. If both pass, use whichever you find quicker.
Themes and fonts
A theme needs good contrast more than it needs good looks. Comments are often a dim colour in dark themes, and dim text gets harder to read after a social network compresses the image. Check comment readability on a phone, not on your monitor.
Check these in both tools:
- A light theme with enough contrast. If your docs or slides have white backgrounds, a dark code block can look like a hole in the page.
- A font that separates look-alike characters. Zero and capital O, and lowercase l, capital I and 1, should be easy to tell apart at small sizes.
- Ligatures. Some coding fonts draw
=>or!=as single symbols. That looks tidy, but it can confuse people learning the language. For teaching material, pick a font without ligatures if the tool offers one. - Font size. If you can set it, go larger than feels natural. A code image that fills a 1080 px wide post needs bigger text than your editor uses.
For reference, Picbolt's code generator has 19 themes (default Xcode Dark) and 10 fonts. The default is JetBrains Mono, and the others are Fira Code, Source Code Pro, IBM Plex Mono, Space Mono, Roboto Mono, Ubuntu Mono, Inconsolata, Anonymous Pro and Cousine. Font size runs from 4 to 30, with 15 as the default.
Export options
Your export settings decide whether the code looks sharp or blurry once it's posted.
- Use PNG for code. JPEG compression smudges the edges of thin text. PNG keeps them clean.
- Export at 2x or higher for slides, docs and anything viewed on a high-density screen. Text exported at 1x looks soft on those displays.
- Check whether an SVG is really vector. Zoom in a long way. If the text stays crisp and you can select it, the file is vector. If it blurs, it's a picture inside an SVG file, and a high-scale PNG does the same job.
- Copy to clipboard saves a step when you paste straight into a post, a doc or a chat.
In Picbolt, Save downloads the image and Copy puts a PNG on the clipboard. You choose the format and scale under Format and Quality in the Settings tab.
- The free plan exports PNG and JPEG at 1x.
- The Lifetime plan adds 2x, 4x, 6x and 8x, plus WEBP and SVG.
- Picbolt's SVG is HTML wrapped in an SVG file, not true vector.
- In Safari and on iOS, the download is always PNG data at on-screen size times the Quality setting, whatever format you choose.
Where each falls short
Limits every code image has
These apply to Carbon, Ray.so, Picbolt and any other tool that exports code as a picture:
- Readers can't copy the code. Link to a gist, repository or docs page next to the image.
- Screen readers can't read it. Write alt text that either contains the code or summarizes what it does.
- It goes out of date. The image won't change when your API does, so date tutorial posts or link to the current version.
- Search engines see less of it. On your own blog, put code in a text code block and keep images for social posts.
Carbon and Ray.so
As of November 2026, we have no dated source on what either tool lacks, so we don't list gaps we can't confirm. The side-by-side test will show the gaps that matter for your snippet. If you need a device frame, 3D tilt or code inside a bigger layout, check whether each tool supports it. If neither does, the device workaround below works with an image exported from either one.
Picbolt
Our code generator has real limits too:
- It has no line numbers, and you can't turn them on.
- It doesn't detect the language automatically.
- Changing the language replaces your code with a sample in that language. Choose the language first, then paste.
- YAML, Vue and Svelte are listed but show as plain text, so 14 of the 17 languages are actually highlighted.
- The free plan allows 3 downloads a day per browser, and both Save and Copy count.
- Nothing is kept between visits. Code images aren't autosaved, and there are no share links.
A third option: framed, tilted or device shots
The Picbolt code image generator can put your code inside a macOS window on a gradient or tilt it in 3D, all in the browser. Exports from the code page have no watermark, even on the free plan.
Make a framed code image
- Open picbolt.co/code.
- In the Edit tab, choose your language under LANGUAGE first.
- Paste your code into the editor on the canvas.
- Under THEME & FONT STYLE, pick a theme and a font, and set Font size.
- Under FRAMES, pick a window style such as macOS Dark or Windows Light. To change the title, click it on the canvas.
- Optionally, turn on Tilt, or click one of the 16 TRANSFORMS for a preset 3D angle.
- Adjust SHADOW and Padding.
- Pick a background in the BG tab.
- Click the aspect-ratio button in the top bar and choose an output size, such as 16:9 or 1:1.
- Click Save to download the image, or Copy to put it on your clipboard.
Put a code image on a device
The code page has no device frames, but you can place any code image on one. This includes images exported from Carbon or Ray.so.
- Export your code image from whichever tool you prefer.
- Open a device mockup, such as the MacBook Pro 14 (M5) mockup, or browse all 20 in the device mockup gallery.
- Click the device and choose your image, or press ⌘V (Command-V, or Ctrl+V on Windows) to paste it.
- Pick a DEVICE COLOR. On iPhones and iPads, also pick an ORIENTATION.
- Click Save or Copy.
The newer device frames crop your image to fill the screen. Export your code image in a shape close to the screen's shape, landscape for a MacBook or portrait for an iPhone, so nothing important gets cut off. On the free plan, device mockup exports carry a "Made with Picbolt" watermark and count toward the 3 daily downloads. Your image is processed in your browser and never uploaded.
Code with arrows, text and other images
For a graphic that combines code with callouts, use the Design Canvas.
- Add a Code layer. Code layers offer 19 themes, 10 fonts and 10 languages.
- Add Text, Arrows or Icons layers.
- Drag each layer into place.
Keep these limits in mind:
- The Design Canvas doesn't save your work.
- Undo and redo are toolbar buttons only, with no keyboard shortcuts.
- Free exports carry the watermark.
Other code image tools to consider
- Chalk.ist (chalk.ist): As of November 2026, Chalk.ist is free and open source under the MIT licence. It makes code images only, with themes, backgrounds and window styles, and it's a one-developer project. See Chalk.ist alternatives.
- CodeSnap: CodeSnap is a VS Code extension. You select code, right-click and choose CodeSnap, or bind it to a hotkey. Listings for its community forks describe line numbers and copying to the clipboard. Development is split across several forks. See CodeSnap alternatives.
For more options, see the best code screenshot tools, or the separate roundups of Carbon alternatives and Ray.so alternatives.
FAQ
Can I use a Carbon or Ray.so image in Picbolt?
Yes. Paste or drop the exported PNG into Screenshot Mockups or any device mockup to add a background, frame, tilt or device. The image stays in your browser.
Does Picbolt add a watermark to code images?
No. Exports from the code page have no watermark on any plan. On the free plan, each Save or Copy counts toward the limit of 3 downloads a day.
Is an SVG code image better than a PNG?
Only if the SVG is true vector, meaning the text is selectable and stays sharp at any zoom. Otherwise, a PNG exported at 2x or higher looks the same and works in more places.
How do I make a code image readable on X or LinkedIn?
Keep the snippet short, use a large font, export at 2x or higher, and link to the full code in the post. Our guide to sharing code on Twitter and LinkedIn covers sizes and layout.
