SIXEL to PGM Converter

Turn SIXEL graphics into PGM images for free online

Drop files here. 1 GB maximum file size or Sign Up
to
Facebook Amazon Microsoft Tesla Nestle Walmart L'Oreal

File Privacy First

Uploaded SIXEL images and converted PGM results are automatically purged — originals immediately, outputs within 24 hours.

Fast Conversion

SIXEL to PGM processing completes in seconds for typical image sizes. Cloud infrastructure keeps turnaround times consistently short.

Simple Workflow

Upload SIXEL, pick PGM, download the result — the three-step process makes converting legacy formats effortless for anyone.

How to convert SIXEL to PGM

1

Select files from Computer, Google Drive, Dropbox, URL or by dragging it on the page.

2

Choose pgm or any other format you need as a result (more than 200 formats supported)

3

Let the file convert and you can download your pgm file right afterwards

About formats

SIXEL (Six Pixel) is a bitmap graphics encoding format created by Digital Equipment Corporation (DEC) in 1983 for rendering images on character-cell printers and video terminals. The name derives from the encoding's fundamental unit: a column of six pixels represented by a single ASCII character. Each printable character in the sixel data stream (ASCII 63-126) encodes a 6-pixel vertical column, with the character's binary value determining which pixels are on or off. Color is specified through register-based palette control: a Select Color Sequence assigns an HLS or RGB color value to a numbered register, and subsequent sixel characters use that color until another register is selected. The encoding supports raster attributes for specifying pixel aspect ratio and image dimensions, repeat sequences (! followed by a count and character) for run-length compression of identical columns, and $ (carriage return) and - (new line) for navigating the sixel grid. DEC implemented SIXEL support in their VT240, VT241, VT330, and VT340 terminals, as well as multiple printer models. One advantage of the SIXEL encoding is its ASCII-clean nature: the data stream consists entirely of printable characters and standard control sequences, meaning SIXEL graphics can be transmitted through any text-based communication channel — serial terminals, SSH sessions, telnet connections — without requiring binary-safe transport or protocol modifications. The format's modern renaissance provides another remarkable dimension: after decades of obscurity, SIXEL support has been implemented in numerous contemporary terminal emulators, enabling inline image display in command-line workflows. SIXEL output can be generated by ImageMagick, libsixel, chafa, and various plotting libraries.
Initial release: 1983
PGM (Portable Graymap) is the grayscale member of the Netpbm image format family, created by Jef Poskanzer in 1988 as part of the Pbmplus toolkit for Unix systems. PGM stores single-channel intensity images where each pixel holds a gray value from 0 (black) to a user-specified maximum (typically 255 for 8-bit or 65535 for 16-bit). The format exists in ASCII (magic number P2), where pixel values are written as decimal text numbers separated by whitespace, and binary (magic number P5), where values are stored as raw bytes. Both variants begin with a header specifying the magic number, width, height, and maximum gray value. PGM was designed as the grayscale intermediate in Netpbm's convert-process-convert pipeline philosophy: source images from any format are converted to PGM, processed using Netpbm's extensive command-line tool library, then converted to the target format. One advantage is format transparency — the ASCII variant makes image data directly readable by humans and trivially processable by text tools like awk and grep, invaluable for debugging and education. The scientific and computer vision community's adoption is another strength: PGM's straightforward single-channel representation makes it a natural format for image analysis algorithms, and many academic papers and course materials use PGM examples. The format is supported by ImageMagick, GIMP, and countless image processing libraries, and remains standard input for many research tools and benchmarks.
Developer: Jef Poskanzer
Initial release: 1988

Frequently Asked Questions

Why convert SIXEL to PGM?

SIXEL images only appear inside terminal emulators. Exporting to PGM lets you use that artwork in any image viewer or editor.

What programs can open PGM?

GIMP, IrfanView, XnView, and most Linux image viewers handle PGM grayscale images. Photoshop can import PGM files as well.

Will I lose image quality converting SIXEL to PGM?

PGM preserves image data without lossy compression, so the visual content from your SIXEL is retained faithfully during conversion.

Is SIXEL to PGM conversion fast?

Most SIXEL images convert to PGM within seconds. The exact time depends on the resolution and complexity of the source, but it is typically quick.

Can I queue several SIXEL files for conversion?

Yes — upload multiple SIXEL files in one session and convert them all to PGM simultaneously. Batch processing saves time on repetitive tasks.

Which terminal emulators output SIXEL?

Terminals like mlterm, foot, WezTerm, and xterm (with SIXEL enabled) produce SIXEL graphics. Convert those outputs to PGM here.