TrustFile processes your files entirely in your browser—no uploads required. But how does this actually work? Let's dive into the technology.
Traditional vs. Client-Side Processing
Traditional Approach
Upload file →
Server processes →
Download result
TrustFile Approach
File stays local →
Browser processes →
Done ✓
The Magic: WebAssembly (WASM)
WebAssembly is a technology that allows running high-performance code directly in your browser. We've compiled powerful PDF and image processing libraries to WebAssembly, giving you desktop-level performance without any installation.
How It Works Step-by-Step
- 1
You select files
Files are read into your browser's memory (never sent anywhere)
- 2
WASM processes
Our WebAssembly code manipulates the files locally
- 3
Result generated
The processed file is created in your browser
- 4
You download
The result goes directly to your Downloads folder
- • pdf-lib for PDF manipulation
- • Canvas API for image processing
- • TensorFlow.js for AI-powered background removal
- • Web Workers for non-blocking processing