Code to Image
Turn code, configuration or terminal output into a highlighted image for slides, tickets and documents: SVG with real, selectable text, PNG at 1x and 2x, and alt text to paste beside it. A secrets check masks the private keys, tokens and passwords it finds before you export. Runs in your browser.
Text & utilitiesKept in this browser · My desk
Drawn in your browser: nothing is sent anywhere, and the image files are made on this page.
The picture is made entirely in your browser. Each language is highlighted by a small scanner written from its own reference (POSIX.1-2024, Python 3.15, RFC 8259, YAML 1.2.2, Tcl 9.0, F5's TMSH Reference v17, FortiOS 7.6.8, Cisco IOS XE 17.x); nothing is parsed or run. Before anything is drawn, a secrets check looks for formats documented by their own standards and vendors (PEM private keys, Authorization headers, AWS access key IDs, JWTs, passwords in URLs, FortiOS ENC values, tmsh and Cisco password attributes, secret-looking assignments) and replaces each value with bullets unless you untick it. Both palettes meet WCAG 2.2's 4.5:1 for every text colour. Behaviour is pinned by 113 golden vectors.
- WCAG 2.2Images of text (1.4.5), text alternatives (1.1.1), contrast for text and images of text (1.4.3) and the luminance and contrast formulas (read 2026-10-27)
- RFC 7468The PEM boundaries and the PRIVATE KEY and ENCRYPTED PRIVATE KEY labels
- RFC 9110, RFC 6750 and RFC 7617The Authorization field, Bearer tokens and Basic credentials
- RFC 7519 and RFC 7515JWTs as JWS or JWE compact serializations, base64url, the required alg
- SVG 2, TextOne x position per character, counted in code points, so the columns hold in any font
- SIL Open Font License 1.1JetBrains Mono, named in the SVG and drawn in the PNG