vocsend

Runs entirely in your browser. Nothing you type, send or receive is ever sent to, or received from, a web server. It leaves this device only as sound.

Easily transmit data between air-gapped devices using audio

Keys, certificates, signatures, notes: out of one device's speaker and into another's microphone. No network, no cable, nothing to install.

Run a speed test between two devices

What it is

vocsend moves small amounts of data from one device to another as sound. One side plays it; the other hears it. It works between phones, laptops and desktops, in any combination, and with the command-line version on a server with no screen.

It is for the small things that so often need to cross a gap: a public key, a certificate, a signature, a Wi-Fi password, a one-time code. It is slow by network standards, up to about 100 bits per second, which is plenty for those.

Why it exists

Two machines, no connection

An air-gapped machine is one kept off every network on purpose. Getting even a few hundred bytes onto or off it usually means hunting for a USB stick that you then have to trust. Other machines are simply awkward: different networks, no shared drive, no cable to hand.

Modern microphones break the obvious answer

Sound is the natural bridge, and tools for sending data as sound have existed for decades. But microphones, drivers and operating systems now apply noise suppression, echo cancellation and automatic gain by default. They keep speech and remove everything else, and a data signal is "everything else". On a lot of current hardware the traditional tools simply do not work.

How it works

vocsend uses vocal-style encoding: it sounds enough like a voice that noise suppression lets it through.

  1. The data rides on pitch. The message becomes a string of very short syllables, each sung at one steady pitch from a small set. A room changes loudness and tone, but it cannot move a frequency, so pitch arrives intact.
  2. Everything else changes, and means nothing. The vowel, the way each syllable starts, how bright and how loud it is: all of it varies from one syllable to the next in a fixed pattern. A noise suppressor removes whatever holds still. This never does.
  3. Errors are repaired. Every block carries a checksum and error correction. Nothing is shown unless it verifies, and both sides display a short fingerprint you can compare.

Levels: not just speed

There are ten levels. Level 10 is the fastest, but the level changes much more than the speed. Lower levels use fewer pitches, spaced further apart, in longer syllables, with more error correction. The signal itself becomes simpler and easier to hear, which is what gets it through a noisy room, a tinny speaker or an aggressive microphone.

LevelPitchesSyllableError correctionBits/s

When receiving, there is nothing to choose: the level is announced at the start of every transmission and picked up automatically. With negotiate switched on, the two devices try the levels and settle on the fastest one that works.

On a computer or a server

The same protocol runs from a terminal, so a phone can talk to a machine with no browser at all.

How to use the command-line version vocsend on GitHub

Private by design

This page runs entirely in your browser. Nothing you type, send or receive leaves the device except as sound. There are no accounts, no servers and no tracking, and once loaded it needs no network. You can add a shared key to encrypt what is sent; without one, anyone within earshot can record it.