Skip to main content
Convert to it! supports a wide range of file formats across multiple categories. This page lists all formats defined in the codebase, along with their technical details.
The actual conversion capabilities depend on the handlers available. Not all format pairs can be converted directly - the tool uses multi-step routing to bridge gaps.

Image Formats

Raster and bitmap image formats for photography, graphics, and visual content.
Extension: .png
MIME Type: image/png
Category: Image
Lossless raster image format with transparency support. Ideal for graphics, screenshots, and images requiring transparency.Supported by: canvasToBlob, ImageMagick, FFmpeg, and more
Extension: .jpg
MIME Type: image/jpeg
Category: Image
Lossy compression format optimized for photographs. Excellent for photographic content where small file size is important.Supported by: canvasToBlob, ImageMagick, FFmpeg
Extension: .webp
MIME Type: image/webp
Category: Image
Modern image format with superior compression. Supports both lossy and lossless compression with transparency.Supported by: canvasToBlob, ImageMagick, FFmpeg
Extension: .gif
MIME Type: image/gif
Category: Image, Video
Supports animation and limited color palette. Popular for simple animations and graphics.Supported by: canvasToBlob, ImageMagick, FFmpeg
Extension: .bmp
MIME Type: image/bmp
Category: Image
Uncompressed raster format. Large file size but universal compatibility.Supported by: canvasToBlob, ImageMagick
Extension: .tiff
MIME Type: image/tiff
Category: Image
Flexible format supporting multiple compression methods. Common in professional photography and scanning.Supported by: ImageMagick

Vector Formats

Scalable graphics formats that maintain quality at any size.
Extension: .svg
MIME Type: image/svg+xml
Category: Image, Vector, Document
XML-based vector format. Infinitely scalable without quality loss. Can be converted to raster images or treated as XML data.Supported by: svgTrace, svgForeignObject, canvasToBlob

Video Formats

Motion picture and animation formats.
Extension: .mp4
MIME Type: video/mp4
Category: Video
Universal video container format with excellent compression and compatibility.Supported by: FFmpeg
Extension: .gif
MIME Type: image/gif
Category: Image, Video
Simple animation format with limited colors. See Image Formats section for details.Supported by: FFmpeg, ImageMagick

Audio Formats

Sound and music file formats.
Extension: .mp3
MIME Type: audio/mpeg
Category: Audio
Lossy audio compression format. Industry standard for music distribution.Supported by: FFmpeg
Extension: .wav
MIME Type: audio/wav
Category: Audio
Uncompressed audio format. High quality but large file size.Supported by: FFmpeg, meyda
Extension: .ogg
MIME Type: audio/ogg
Category: Audio
Open-source lossy audio format. Better quality than MP3 at similar bitrates.Supported by: FFmpeg
Extension: .flac
MIME Type: audio/flac
Category: Audio
Lossless audio compression. Preserves perfect audio quality while reducing file size.Supported by: FFmpeg

Document Formats

Text documents, presentations, and portable document formats.
Extension: .pdf
MIME Type: application/pdf
Category: Document
Universal document format preserving layout and formatting. Can contain text, images, and vector graphics.Supported by: pdftoimg, pandoc
Extension: .docx
MIME Type: application/vnd.openxmlformats-officedocument.wordprocessingml.document
Category: Document
Microsoft Word document format (Office Open XML).Supported by: pandoc
Extension: .pptx
MIME Type: application/vnd.openxmlformats-officedocument.presentationml.presentation
Category: Presentation, Document
Microsoft PowerPoint presentation format (Office Open XML).Supported by: pandoc
Extension: .html
MIME Type: text/html
Category: Document, Text
Web page markup language. Can embed images, videos, and other content.Supported by: htmlEmbed, svgForeignObject, pandoc
Extension: .markdown
MIME Type: text/markdown
Category: Document, Text
Lightweight markup language for formatted text documents.Supported by: pandoc
Extension: .svg
MIME Type: image/svg+xml
Category: Image, Vector, Document
When treated as a document, SVG can be parsed as XML. See Vector Formats for image usage.Supported by: svgForeignObject

Spreadsheet Formats

Tabular data and spreadsheet formats.
Extension: .xlsx
MIME Type: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
Category: Spreadsheet, Document
Microsoft Excel spreadsheet format (Office Open XML).Supported by: pandoc

Data Formats

Structured data interchange formats.
Extension: .json
MIME Type: application/json
Category: Data
Lightweight data interchange format. Human-readable and machine-parseable.Supported by: fromJson, toJson handlers
Extension: .xml
MIME Type: application/xml
Category: Data
Markup language for encoding documents in machine-readable format.Supported by: Various handlers depending on context
Extension: .yml
MIME Type: application/yaml
Category: Data
Human-friendly data serialization format.
Extension: .csv
MIME Type: text/csv
Category: Data
Simple tabular data format using comma delimiters.

Text & Code Formats

Plain text and source code formats.
Extension: .txt
MIME Type: text/plain
Category: Text
Simple unformatted text. Universal compatibility.Supported by: renameTxt, textEncoding, and various handlers
Extension: .py
MIME Type: text/x-python
Category: Code
Python programming language source code.Supported by: pyTurtle, txtToPy
Extension: .bat
MIME Type: text/windows-batch
Category: Text
Windows command script.Supported by: batch, batToExe, exeToBat
Extension: .sh
MIME Type: application/x-sh
Category: Text
Unix/Linux shell script.Supported by: textToShell

Archive Formats

File compression and archiving formats.
Extension: .zip
MIME Type: application/zip
Category: Archive
Universal archive format with compression.Supported by: jszip, renameZip, peToZip

Font Formats

Typeface and font file formats.
Extension: .ttf
MIME Type: font/ttf
Category: Font
Widely-used font format with excellent compatibility.Supported by: font handler
Extension: .otf
MIME Type: font/otf
Category: Font
Advanced font format supporting complex typography.Supported by: font handler
Extension: .woff
MIME Type: font/woff
Category: Font
Compressed font format optimized for web use.Supported by: font handler
Extension: .woff2
MIME Type: font/woff2
Category: Font
Improved web font format with better compression.Supported by: font handler

Music Notation Formats

Formats for musical scores and notation.
Extension: .musicxml
MIME Type: application/vnd.recordare.musicxml+xml
Category: Document
Standard format for exchanging digital sheet music.Supported by: vexflow
Extension: .mxl
MIME Type: application/vnd.recordare.musicxml
Category: Document
Compressed version of MusicXML.Supported by: vexflow

Executable Formats

Extension: .exe
MIME Type: application/vnd.microsoft.portable-executable
Category: Code
Windows executable program format.Supported by: batToExe, exeToBat, peToZip

Conversion Handlers

Behind the scenes, Convert to it! uses over 60 specialized handlers to perform conversions:

Format Categories

Formats are organized into the following categories:

Image

Raster images: PNG, JPEG, WebP, GIF, BMP, TIFF

Vector

Scalable graphics: SVG

Video

Motion pictures: MP4, GIF (animated)

Audio

Sound files: MP3, WAV, OGG, FLAC

Document

Documents: PDF, DOCX, PPTX, HTML, Markdown, SVG

Data

Structured data: JSON, XML, YAML, CSV

Text

Plain text: TXT, Batch, Shell scripts

Code

Source code: Python, EXE

Archive

Compressed files: ZIP

Spreadsheet

Tabular data: XLSX

Presentation

Slide decks: PPTX

Font

Typefaces: TTF, OTF, WOFF, WOFF2
Not all format combinations can be converted. The tool attempts to find a route through intermediate formats, but some conversions may not be logically possible (though Convert to it! will try its best!).

Cross-Category Conversions

One of Convert to it!‘s unique features is the ability to convert between different media types:
  • Video to Image: Extract frames from videos as PNG/JPEG
  • Image to PDF: Embed images in PDF documents
  • Audio to Image: Visualize audio waveforms as images
  • Text to Executable: Convert batch scripts to EXE files
  • Font to Image: Render font glyphs as images
  • Almost anything to HTML: Embed content in HTML pages
The tool is designed to “just work” - even if a conversion seems unusual, give it a try! The graph traversal algorithm often finds creative routes between formats.

Next Steps

Using the Converter

Learn how to perform conversions step-by-step

Troubleshooting

Get help when conversions don’t work as expected

Build docs developers (and LLMs) love