“My favourite code sharing app 🥰”
Code Snapshot Generator
for Developers
Turn your code into a snapshot in seconds not minutes
Native macOS app for developers who share code. Paste a snippet, drop it on a macOS wallpaper or a gradient, and export a perfectly aligned image at whatever ratio you need.
On the Mac App Store · Requires macOS 14 or later
From Clipboard to Timeline in 5 Steps
Everything happens in one window, and the image you export is exactly the image you see.
1. Paste Your Code
Copy a snippet and paste it straight into Codeshot with ⌘⇧V. Highlighting is applied as you paste.
2. Pick a Theme
Choose from 30 syntax themes, each with a light and a dark variant, across 60 languages that Codeshot detects for you or you set by hand.
3. Choose a Backdrop
Sit the snippet on one of 19 macOS wallpapers, 92 gradients, a solid colour of your own, or an image you supply — or drop the background altogether and export with transparency.
4. Fine-Tune the Frame
Set the window corner radius, padding, margin, and drop shadow, switch the traffic lights and title on or off, and pick any monospace font installed on your Mac.
5. Export at the Right Size
Let the size follow your content, or lock it to a ratio — 1:1, 4:3, 3:2, 16:9, 9:16, 2:3, 3:4. Copy straight to the clipboard with ⌘⇧C, drag the preview out, or export with ⌘S.
Built for the Way Developers Share
Style
Highlighting for 60 languages, auto-detected or set by hand
Any monospace font installed on your Mac
Size
Ratio presets from 1:1 to 9:16, or size to fit
Copy, drag out, or export a PNG at 1×, 2×, or 3×
Themes
30 themes, each with a light and dark variant
See every one of them before you download
Browse all 30 themes →Shortcuts
Skip the App Entirely
Codeshot adds a Make Snapshot action to the Shortcuts app. Copy code, press a key, paste the picture — the app never opens. Or right-click a file in Finder and get a PNG beside it.
See the four workflows
What Developers Say About Codeshot
“Pretty handy tool for us devs that share code.”
“Like this one, simple yet powerful 👍, minimizing the time to remember what was the web page I used to generate this screenshot”
“Thank @sarunw for a beautiful code block from @CodeshotApp ❤️”
“Great app ✅”
“This is so great 👏🏻👌🏻”
“This looks nice! I’ll give it a try 😊”
“Buy it, it's worth it to quickly put something together for Twitter.”
“The App is AWESOME… I'm banging out great looking Swifty looking images now.”
“Definitely worth it if you share even just a few screenshots of code snippits. I love the range of options for themes and the customization for window size.”
Frequently Asked Questions
What is Codeshot?
Codeshot is a native macOS app that turns code snippets into images you can share on social media. It runs on your Mac — no web page, no upload.
How do I turn a code snippet into an image?
Copy your code, paste it into Codeshot with ⌘⇧V, pick a theme and a backdrop, then export with ⌘S.
Which programming languages are supported?
60 languages. Codeshot detects the language from the code you paste, or you can set it yourself.
How many themes are included?
30 syntax themes, and every one of them has a light and a dark variant.
What image sizes can I export?
The size can follow your content, or you can lock it to a ratio — 1:1, 4:3, 3:2, 16:9, 9:16, 2:3, or 3:4. Export at 1×, 2×, or 3×, and what you see in the app is what gets exported.
Can I use my own font?
Yes. Codeshot can use any monospace font installed on your system.
How is Codeshot different from Carbon.now.sh?
Codeshot is inspired by Carbon.now.sh, but it is a native app built around perfectly centered code, macOS wallpaper backdrops, and real-time ratio presets.
Does it support dark mode?
Yes. The app automatically adjusts its appearance from light to dark along with macOS.
What do I need to run Codeshot?
macOS 14.0 or later.
Your Next Snippet Deserves a Better Frame
Paste, style, export. Codeshot keeps the distance between writing code and sharing it as short as possible.
Download for macOSOn the Mac App Store · Requires macOS 14 or later
Free resources
Read Before Your Next Post
Guide
The Best Image Size for Code Snippets on X (Twitter)
1600 × 900 at 16:9 — and the settings to get there in one go.
Guide
The Best Image Size for Code Snippets on LinkedIn
1080 × 1080 at 1:1 — and the settings to get there in one go.
Guide
The Best Image Size for Code Snippets on Facebook
1080 × 1080 at 1:1 — and the settings to get there in one go.