Beautiful Code Screenshot Generator

Convert code snippets into beautiful, syntax-highlighted images. Custom background gradients, multiple themes, macOS window controls, and local PNG/SVG exports. Optimized for developers.

Browser-BasedResponsive UI Privacy-First

Designer Settings

Canvas Presets
Overflow

Canvas Preview

index.js
1
2
3
4
5
6
7
8
9
function greet(name) {
  // Print a greeting message
  const message = `Hello, ${name}!`;
  console.log(message);
  return message;
}

// Call the function
greet('ToolRaven');

 

How it works

In-depth design guide and FAQ

Paste your code, pick a theme (Dracula, One Dark, VS Dark, Synthwave '84), and choose a background gradient, solid color, or transparent canvas. The preview updates live with syntax highlighting via PrismJS.

Toggle macOS-style title dots, set a custom filename, adjust font size and padding, and add a watermark for branding. Export as PNG at 2x/3x Retina resolution or use the Web Share API to send the image directly to WhatsApp, Slack, or Discord.