Send us translation corrections, feature suggestions and bug reports.Contact: toolsintab@gmail.com

Code image generator

Getting ready…

Code image generator User guide

Create a highlighted code image with line numbers.

Instructions

  1. Paste code and choose its language.
  2. Set font size, line numbers and background color.
  3. Create the code image, review syntax highlighting and save PNG.

Example

Input / settings

const answer = 42;

Result / checks

Highlighted code PNG

Code is rendered as text and is never executed. Plaintext disables syntax highlighting.

Please note

Text → PNG

  • Code is rendered as text and is never executed. Plaintext disables syntax highlighting.
  • Up to 200,000 characters and 500 lines. Very long lines can exceed the 10,000-pixel side or 16-million-pixel output limit.
  • Files and entered content are processed in this browser. Save results before closing the page.