Skip to content
hummusakiPublic

About

Full frontend file conversion

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

ConVert

Full frontend file conversion

Run locally

Run these commands from the ConVert folder:

npm ci
npm start

Open ConVert on localhost. The local server serves the app files and the browser performs the conversions. Opening index.html directly with a file:// URL prevents the browser from loading the JavaScript modules and workers.

Features & Architecture

  • Completely Client-Side: All conversions happen directly in the browser via WebAssembly (WASM) and Web Workers. No files are uploaded to a server!
  • Domain-Specific Modules: Codebase is modularized into archives, documents, images, and media to keep converters decoupled for performance.
  • Robust End-to-End Testing: Includes Playwright tests that evaluate the behavior of all format converters directly in a browser environment to ensure high-fidelity outputs.
  • Powered by WebAssembly & Modern Libraries:
    • ffmpeg.wasm for video and audio transcoding
    • libarchive.js for extraction of ZIP, RAR, 7Z, and TAR archives
    • magick.wasm (ImageMagick) for raw images and vector conversions
    • pdf-lib & pdf.js for PDF generation and parsing
    • mammoth.js & SheetJS for document processing (DOCX, XLSX)
    • webaudio-tinysynth for MIDI audio rendering
    • JSZip & html2pdf.js for packaging and document conversion

Supported file types

🖼️ Images

  • PNG: Convert to JPG, WEBP, PDF, ICO
  • JPEG: Convert to PNG, WEBP, PDF, ICO
  • WEBP: Convert to PNG, JPG, PDF, ICO
  • BMP: Convert to PNG, JPG, WEBP, PDF
  • GIF: Convert to PNG, JPG, WEBP, PDF, MP4
  • ICO: Convert to PNG, JPG, WEBP
  • PDF: Convert to PNG, JPG, WEBP, TXT

Advanced & Raw Image Formats

  • SVG: Convert to PNG, JPG, WEBP
  • EPS: Convert to PNG, JPG, WEBP
  • TIFF: Convert to PNG, JPG, WEBP
  • Raw Images (CR2, DNG, NEF): Convert to PNG, JPG, WEBP

📄 Documents & Text

  • DOCX: Convert to PDF, HTML
  • XLSX: Convert to CSV, PDF, HTML
  • CSV: Convert to PDF, HTML
  • TXT: Convert to PDF, PNG, JPG

🗄️ Archives

  • ZIP: Convert to TAR
  • RAR: Convert to ZIP, TAR
  • 7Z: Convert to ZIP, TAR
  • TAR: Convert to ZIP
  • GZ: Convert to ZIP, TAR

🎵 Audio

  • Inputs include MP3, WAV, FLAC, OGG, AAC, M4A/M4B, Opus, AIFF/AIFC, WMA, CAF, AC-3/E-AC-3, DTS, AU, MKA, WavPack, TTA, MP2, APE, Musepack, Speex, Wave64, WebM audio, and MIDI.
  • Outputs include MP3, WAV, FLAC, OGG (Vorbis), AAC, M4A (AAC), Opus, AIFF, ALAC (.m4a), WMA, CAF, AC-3, AU, MKA (FLAC), WavPack, TTA, and MP2. Video files can also export their first audio track to these formats.
  • WMA output uses stereo at 44.1 kHz.

Drop files or folders onto the converter, or use Choose files or folder to browse. Pick an output format and select Convert batch, then Download ZIP. The ZIP contains the successful conversions and preserves folder paths. Expand File details to see any files that could not convert to the selected format.

🎬 Video

  • MP4: Convert to MP3, GIF, AVI, MOV, MKV, WEBM, FLAC, WAV
  • MOV: Convert to MP4, MP3, GIF, AVI, MKV, WEBM
  • WEBM: Convert to MP4, MP3, GIF, AVI, MKV, MOV
  • AVI: Convert to MP4, MP3, GIF, WEBM, MOV, MKV
  • MKV: Convert to MP4, MP3, GIF, AVI, MOV, WEBM
  • WMV: Convert to MP4, MP3, GIF, AVI, MOV, MKV, WEBM
  • M4V: Convert to MP4, MP3, GIF, AVI, MOV, MKV, WEBM

About

Full frontend file conversion

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors

Languages