Trezor Bridge is a small, essential piece of software developed by SatoshiLabs, the creators of the Trezor hardware wallet. In simple terms, it is a background application that runs on your computer (Windows, macOS, or Linux) and acts as a "bridge" — a secure communication channel — between your physical Trezor device (connected via USB) and your web browser.
You might wonder, "Why is this even necessary? Can't the browser just talk to the USB device directly?" This question gets to the very heart of modern web security. Web browsers are intentionally "sandboxed," meaning they are isolated from your computer's core operating system and hardware. This is a critical security feature. Imagine if any random website you visited could directly access your connected USB devices, webcam, or local files without your permission. It would be a catastrophic security vulnerability.
This security model, while essential, creates a challenge for hardware wallets. How does a web-based wallet interface, like the Trezor Suite for web, securely send a transaction to your device for you to sign? In the past, this problem was often solved with browser extensions or plugins. However, these extensions required broad permissions to "read and change data on all websites," which itself created a new security risk. A malicious extension could potentially interfere with your transactions.
Trezor Bridge is the elegant and highly secure solution to this problem. Instead of a vulnerable browser extension, the Bridge is a standalone, open-source application with one job and one job only: to pass encrypted messages between the Trezor web app and the Trezor device. The web app sends a request to a specific local address on your computer (like `http://localhost:21325`), which only the Trezor Bridge is listening to. The Bridge then forwards this request to the hardware device. When you confirm the action on your device's screen, the device sends a signed response back to the Bridge, which then passes it back to the web app. This entire process happens seamlessly in the background, without your private keys ever leaving the Trezor device.