Overview
Codepng is a small web app that turns a snippet of source code into a tidy picture. You paste code into the editor on the page, choose how it should look, and export a PNG that can go into a slide, a blog post or a social media post, where a plain screenshot of your editor would look rough.
The controls sit in a single bar above the preview. You pick a colour theme (One Dark is the default), the programming language for syntax highlighting, the style of the window buttons drawn at the top of the code frame, and the background behind it. Two switches turn line numbers on or off and make the editor panel transparent so the background shows through.
It is a one-person project by developer Henri Parviainen and does one thing only. There are no accounts, pricing plans or galleries on the page: you style the snippet and press Export PNG.
Categories
Features
- Turns pasted code into a PNG image
- Choice of colour themes, with One Dark as the default
- Language selector for syntax highlighting
- Selectable style for the window control buttons
- Adjustable background behind the code frame
- Line numbers on or off
- Transparent editor option
Privacy
See the official privacy policy. No privacy statement was found on the page; the site describes the image as being created in your browser.
Pros & Cons
Pros
- Single page with no sign-up shown
- A handful of clear options, so an image takes seconds
- Runs in the browser with nothing to install
Cons
- PNG is the only export format offered on the page
- Fewer styling options than larger code-image tools
- No privacy policy or statement about how pasted code is handled
- Small personal project with no visible support channel
Community Reviews (0)
No written reviews yet — be the first to rate this tool.
Similar Tools
-
Turn a code snippet into a shareable, syntax-highlighted image.
Open Source No Signup Web -
Screenshots · Ray.so
Creates beautiful images of source code.
Open Source No Signup Web -
Screenshots · Codeimg.io
Creates images of source code snippets.
Free No Signup Web -
Creates and animates code screenshots.
Freemium Web API