PGM to SIXEL Converter

PGM to SIXEL — browser-based conversion tool

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

Private and Secure

Uploaded PGM files are deleted immediately after conversion. Resulting SIXEL files are removed within 24 hours from our servers.

Any Device, Any OS

Desktop, laptop, tablet, phone — the converter handles PGM to SIXEL equally well on every device and operating system.

Fast Processing

PGM to SIXEL conversion is fast. Small files process almost instantly, and even larger images are done within moments.

How to convert PGM to SIXEL

1

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

2

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

3

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

About formats

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
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

Frequently Asked Questions

Why convert PGM to SIXEL?

Moving to SIXEL enables terminal-based graphics — better suited for web publishing, printing, or sharing across platforms.

What programs open SIXEL files?

You can open SIXEL files with xterm, mlterm, DEC-compatible terminals. Most platforms have at least one built-in or free option available.

Will I lose image quality converting PGM to SIXEL?

Your image retains its current quality level. Converting from PGM to SIXEL does not introduce additional degradation to the visual data.

Can I convert multiple PGM files to SIXEL at once?

Yes — upload several PGM files simultaneously and convert them all to SIXEL in a single batch operation.

Is the PGM to SIXEL conversion instant?

Conversion typically finishes in seconds. PGM files are lightweight, so the transformation to SIXEL is quick.

Do I need to create an account to convert?

No sign-up necessary. The converter works without an account for regular PGM to SIXEL conversions.