A web page used to be a thin interface for work performed on a server. Modern browsers can now decode images, parse archives, run compiled codecs, create documents and offer generated bytes as a download. That makes local file conversion practical for many tasks, but not effortless or unlimited.
The important architectural change is not one API. It is a chain: explicit file selection, a suitable decoder or parser, CPU work on the main thread or a worker, output bytes in memory, and a temporary Blob URL. Each link has capabilities and failure modes that a trustworthy tool should expose.
1. File selection grants scoped access
When you choose or drop a file, the browser gives the page a File object. It contains a name, MIME type, size and methods for reading bytes. The page does not receive general permission to browse the rest of the folder. A converter can validate the extension and size before asking an engine to read the content.
Local does not automatically mean streaming. Several current engines call arrayBuffer(), text() or a decoder that holds the source and output in memory. A 50 MB compressed image can expand into hundreds of megabytes of pixel data. That is why input bytes alone are a poor memory estimate.
2. Native browser APIs handle the lightest paths
For JPG, PNG and WebP, the image engine can use createImageBitmap, canvas drawing and toBlob. Text tools rely on TextDecoder, TextEncoder, strings and parsers. These paths need no separate WebAssembly download and can start quickly.
Native support is still capability-dependent. AVIF input works only when the browser can decode AVIF. Canvas output support is checked rather than inferred from the user-agent string. If an encoder returns a different MIME type, the image engine rejects the operation instead of silently handing back a mislabeled file.
3. JavaScript libraries and WebAssembly fill format gaps
PDF assembly uses a local JavaScript PDF library. DOCX handling unpacks the OOXML package and reads document XML. HEIC decoding uses a pinned local decoder in a worker. MP4-to-MP3 uses self-hosted FFmpeg WebAssembly. These are different engines behind one workspace contract; there is no single universal converter.
Large dependencies are loaded lazily. Visiting the homepage should not fetch the HEIC worker or FFmpeg core. Opening a relevant tool still does not need to initialise every codec immediately. The evidence tests assert that the HEIC worker is absent before processing and appears only after a real HEIC file is submitted.
4. Workers protect responsiveness, not privacy by themselves
A Web Worker runs JavaScript away from the page's main UI thread. That helps a progress indicator, cancel control and keyboard interaction remain responsive during expensive work. The worker can receive bytes through messaging and return a decoded result.
A worker is not proof of local processing; a worker can make network requests too. Privacy comes from what the implementation and request trace actually do. Likewise, a tool without a worker can still be entirely local. Lightweight JSON formatting is fast enough to run in the page.
5. Blob URLs expose the result without a server round trip
After an engine creates output bytes, it wraps them in a Blob with a MIME type. URL.createObjectURL produces a temporary blob: address for the download link. Fetching that URL in the same page reads browser-held data; it is not an HTTP request to the site's origin.
The workspace revokes stale object URLs when a result is reset or replaced. Closing the tab also ends that browser context. The downloaded file is different: once saved, it follows the device's normal download, backup and cloud-sync rules.
A real HEIC-to-JPG path
The priority-tool test uses a genuine HEVC HEIC fixture rather than renaming another format. It selects the file in the production page, waits for the local worker, reads the download Blob and independently checks the JPEG signature and decoded dimensions.
| Evidence | Recorded value |
|---|---|
| Input | example.heic, 718,114 B |
| Output | JPEG, 305,197 B, signature FF D8 |
| Decoded dimensions | 1280 × 854 px |
| Lazy component | HEIC worker requested only after processing began |
| Unexpected upload | None observed; external or non-GET/HEAD conversion requests: 0 |
| Browser | Microsoft Edge 156.0.4314.42 |
The tool exports the supported primary still image. It does not promise Live Photo video, depth data, HDR intent, animation or original metadata. The HEIC input limit is 25 MB, and pixel safety checks still apply after decoding.
Memory, browser and format limits
- The image path rejects results above 16,384 pixels on one side or 64 million canvas pixels.
- A codec supported in one current browser may be absent in another; AVIF is detected by a real decode attempt.
- Mobile devices can terminate memory-heavy tabs sooner than desktops.
- A basic DOCX-to-PDF engine may extract paragraphs but cannot reproduce Word's complete layout model.
- PDF rewriting can optimise object structure without shrinking already compressed page images.
- Scanned PDF text needs OCR, which the current PDF text tools do not provide.
Honest status is part of the architecture. The shared engine contract distinguishes unsupported browsers, invalid files, size limits, cancellation and operations that are not implemented. Tool pages are published or indexed according to tested representative evidence rather than a generic "available" label.
How to verify a browser conversion
- Open Developer Tools and clear the Network panel.
- Use a harmless sample and record its name and exact size.
- Start the conversion and watch both request method and destination.
- Expect page or codec GETs where documented; investigate requests carrying a body.
- Confirm the download link uses
blob:, then inspect the downloaded magic bytes or open it in an independent parser. - Repeat after a material engine or deployment update.
Why the browser model matters
Local conversion can remove a server upload, reduce processing infrastructure and let a tool work after its dependencies are cached. It also shifts CPU time and memory use to the visitor's device. The result is not automatically faster, safer or more faithful; those properties depend on the format, engine and file.
The useful principle is narrower and verifiable: download only the code needed for this task, keep the selected bytes on the device when the engine supports it, produce a real output rather than a simulated preview, and state what the conversion cannot preserve.
Tools used in this guide
These links match the article examples. Review each tool's tested inputs and output limits before conversion.
HEIC to JPG
Images
Convert supported HEIC/HEIF still photos to JPG locally with libheif. No image upload or signup. A primary image becomes an 8-bit JPEG; HDR and Live Photo media are not retained.
MP4 to MP3
Video
Extract an MP3 audio copy from a supported MP4 locally with browser FFmpeg. Free, no signup or video upload. An audio track is required; other containers are unsupported.
Format readable JSON, create compact JSON or validate JSON syntax locally with useful parser errors. Free, no upload or signup; not JSON Schema validation.
Images to PDF
Combine JPG, PNG or supported WebP images into a PDF in file-list order. One image per page, processed locally. Free, no signup; this does not add OCR text.