Skip to content

Browser-side vs server-side file conversion

How in-browser file conversion works, how it differs from upload-based converters, its real limits, and how to check that files are not uploaded.

By Convero · Published

A browser-side converter downloads its code to your device and processes files in the browser, so the files are not sent to a server. Upload-based converters send files to their servers, which can handle more formats and larger jobs. Browser-side conversion is limited by your device's memory and by the formats your browser can decode.

How Convero converts files in the browser

  • Images are decoded and redrawn with the browser's canvas, then saved with the browser's own JPG, PNG or WebP encoder.
  • PDFs are combined, split and rotated with the open-source pdf-lib library, and rendered to images or text with Mozilla's pdf.js.
  • Audio is decoded with the browser's Web Audio API and written as 16-bit WAV.
  • ZIP files are created and opened with the open-source JSZip library. CSV and JSON are parsed in plain JavaScript.

Trade-offs

Browser-side and upload-based conversion compared
ItemBrowser-side (Convero)Upload-based services
Where files goStay on your deviceSent to the service's servers
FormatsWhat the browser and bundled libraries can read and writeUsually many more, including video and office documents
Large filesLimited by device memory; phones run out soonerLimited by the service's plans and upload speed
SpeedNo upload or download wait; depends on your deviceDepends on upload speed and server load
Works offlineOnce the page has loaded, processing needs no connectionNo

How to check that a file is not uploaded

Open your browser's developer tools, choose the Network tab, then convert a file. You will see the page and its code load, but no request that carries your file. You can also load a tool, turn off your connection, and convert a file. The file processing and security page describes this in more detail.

Limits to know about

  • Image tools accept files up to 80 MB, PDF tools up to 300 MB, and audio tools up to 200 or 300 MB, but a phone may run out of memory before that.
  • AVIF images and the audio inside video files open only if your browser can decode them.
  • Video conversion, office documents and HEIC photos are not available yet.

Tools for this