Formats and licences
Every codec here is open source. All but one are permissively licensed, which is what makes a fully client-side tool possible. The exception is MuPDF, used only for redaction, and it is called out below rather than buried.
Last updated
Images
| Format | Read | Write | Handled by |
|---|---|---|---|
| JPEG | Yes | Yes | mozjpeg 4 (encode), browser decoder |
| PNG | Yes | Yes | oxipng 9 (encode), browser decoder |
| WebP | Yes | Yes | libwebp 1.4 (encode), browser decoder |
| GIF | First frame | No | Browser decoder |
| BMP | Yes | No | Browser decoder |
| AVIF | Depends on browser | Yes, on demand | libavif 1.x (encode), browser decoder |
| HEIC / HEIF | Depends on browser | No | Browser decoder |
| TIFF | Depends on browser | No | Browser decoder |
“Depends on browser” is deliberate: decoding uses the browser’s owncreateImageBitmap, and browsers differ. Safari reads HEIC; Chrome and Firefox usually do not. Rather than shipping a second decoder, the tool reports a clear error when the browser cannot open a file.
AVIF output exists but is opt-in: its encoder is a 3.3 MB WebAssembly module, so it is downloaded the first time you pick AVIF and never before. Leaving the format on Auto saves AVIF and HEIC inputs as WebP instead — a 100 KB AVIF would otherwise turn into a megabyte of PNG, and silently spending a 3 MB download is worse.
Animated GIFs are flattened to their first frame. Animated WebP and APNG are treated as still images. This is stated in each tool rather than silently done.
Archives
| Format | Extract | Create | Handled by |
|---|---|---|---|
| ZIP | Yes | Yes | zip.js 2 |
| ZIP64 | Yes | Yes | zip.js 2 |
| ZIP + AES-256 | Yes | Yes | zip.js 2 |
| ZIP + ZipCrypto | Yes | Yes | zip.js 2 |
| 7z (LZMA, LZMA2, BZIP2) | Yes | No | libarchive 3.7 |
| RAR4, RAR5 | Yes | No | libarchive 3.7 (BSD reader) |
| TAR | Yes | No | libarchive 3.7 |
| TAR.GZ / TGZ | Yes | No | libarchive 3.7 + zlib |
| TAR.XZ / TXZ | Yes | No | libarchive 3.7 + liblzma |
| TAR.BZ2 / TBZ2 | Yes | No | libarchive 3.7 + libbz2 |
| GZ, XZ, BZ2 (single file) | Yes | No | libarchive 3.7 |
RAR is proprietary and cannot legally be written by third-party software, so extraction is read-only. Split archives (.7z.001, .part1.rar) and multi-volume sets are not supported: the browser receives one file at a time, and joining volumes requires filesystem access the page does not have.
Documents
| Format | Read | Write | Handled by |
|---|---|---|---|
| DOCX, DOCM | Text and HTML | Yes, from PDF | mammoth 1.13 (read), docx 9 (write) |
| DOC (Word 97–2003) | No | No | — |
| XLSX, XLSM | Cell values, as CSV | CSV, ZIP | zip.js + saxes |
| XLS (Excel 97–2003), ODS | No | No | — |
A .docx is a zip of XML parts, so it can be read without Word. A .doc is a proprietary binary format from before 2007 and needs a different parser; the tool says so rather than failing with a parse error. Conversion keeps headings, paragraphs, emphasis, lists, links and tables, and drops page layout — margins, headers, fonts and exact spacing are concepts of a page, not of a document.
Spreadsheets are read the same way: the workbook, its shared strings and its number formats are parsed once, then only the worksheet you export is streamed through an XML parser. A sheet with 50,000 rows never becomes a tree of JavaScript objects, which is what makes a browser tab a reasonable place to open one. Dates come from the cell's number format rather than from a guess, and formula cells export the value Excel last calculated.
Libraries
| Library | Licence | Used for |
|---|---|---|
| mozjpeg | BSD-3-Clause / IJG | JPEG encoding |
| libwebp | BSD-3-Clause | WebP encoding |
| oxipng | MIT | Lossless PNG optimisation |
| libarchive | BSD-2-Clause | 7z, RAR, TAR, GZ, XZ, BZ2 |
| zip.js | BSD-3-Clause | ZIP reading and writing |
| libavif | BSD-2-Clause | AVIF encoding (loaded on demand) |
| pdf-lib | MIT | PDF page assembly, merging and splitting |
| pdf.js | Apache-2.0 | Page rendering for thumbnails and image export (on demand) |
| mammoth | BSD-2-Clause | DOCX text and HTML conversion |
| docx | MIT | Writing .docx files |
| MuPDF | AGPL-3.0-or-later | PDF redaction: glyph removal, image pixel erasure |
| Tesseract 5 | Apache-2.0 | OCR, with the English language model |
| MediaPipe Tasks Vision | Apache-2.0 | Face landmarks for passport auto-align (on demand) |
| ONNX Runtime Web | MIT | Portrait matting inference in the browser |
| MODNet | Apache-2.0 | Portrait alpha matting for background replacement (on demand) |
| saxes | ISC | Streaming XML parsing for .xlsx worksheets |
| libarchive.js | MIT | libarchive WASM bindings |
| jSquash | Apache-2.0 | WASM codec bindings |
| Astro | MIT | Static site generation |
| React | MIT | Tool interfaces |
| Tailwind CSS | MIT | Styling |
MuPDF is the one copyleft dependency. True redaction needs a full PDF engine — font encodings, text matrices, form XObjects, inline images — and MuPDF is the only one that exposes a glyph-level removal API, so it is used by /redact-pdf and nowhere else. It is fetched only when you run a redaction, and it runs entirely in your browser: no document data reaches Artifex. If you fork this site and redistribute it, the AGPL terms apply to that component; the rest of the code is unaffected.
OCR writes a new text layer rather than replacing the picture: each recognised word is drawn at the position it was found, with zero opacity, over the rendered page image. Search and copy read that layer; the page still looks like the scan. The recogniser is Tesseract compiled to WebAssembly, downloaded only when OCR is run, and it is English-only here — other languages need their own model files, which are not bundled.
Trademarks
RAR is a trademark of RARLAB. ZIP is a trademark of the ZIP trademark owners. 7-Zip is a trademark of Igor Pavlov. This site is independent and is not affiliated with, endorsed by or sponsored by any of them. RAR extraction is performed by libarchive’s independent BSD-licensed implementation.