How to use it
Tune a receiver until the time signal is heard as a steady tone that dips once a second (JJY rises once a second instead), then bring its audio in as described under “Getting the audio in”. Play demo signal needs no radio and can send any of the four stations.
The page finds the tone, locks to the seconds, waits for the minute marker and then collects the bits. Expect the first time after one to two minutes and “verified” a minute later. Decoding continues while the page is in a background tab; only the drawing pauses.
Controls
- Spectrum: click or drag to choose the tone by hand; the arrow keys move it by 5 Hz (50 Hz with Shift) and A returns to automatic tuning.
- Automatic tone: locks onto the strongest steady tone between 300 and 1500 Hz.
- Station: Automatic, or DCF77, MSF, WWVB or JJY only.
- Demo: sends DCF77, MSF, WWVB or JJY for the current time or one you enter, in real time with sound or 10 or 60 times faster in silence.
Getting the audio in
There are four ways to get the signal in (read 60 kHz for MSF and WWVB, 40 or 60 kHz for JJY, where 77.5 kHz is written). Nothing is uploaded: all decoding happens in this tab.
- No radio needed — a web receiver in another tab. Open a public web-based SDR receiver in a second tab (universities and radio clubs run many of them; websdr.org lists receivers that are online now), tune it to 77.5 kHz as described below (the receiver must reach long wave; the one at the University of Twente in the Netherlands covers 0 to 29 MHz) and start its audio. Here, press Use computer audio, choose that tab in the sharing dialog and switch on sharing of the tab’s audio. Keep the receiver tab playing; this page can stay in the background.
- Your own receiver or SDR program on this computer. Press Use computer audio and share the program’s window or the entire screen together with system audio, or send the program’s output to a virtual audio cable and pick that cable after pressing Use microphone.
- A radio with a speaker. Hold it near the microphone and press Use microphone. It works, but room noise hurts weak signals; a cable from the headphone socket to the line or microphone input is better.
- A recording. Load a WAV or MP3 file with Open audio file.
Where and how to receive it
DCF77 is a long-wave time transmitter at Mainflingen, about 25 km south-east of Frankfurt am Main in Germany. It transmits on 77.5 kHz with 50 kW around the clock, and its time comes from the atomic clocks of PTB, Germany’s national metrology institute in Braunschweig. It can be received up to roughly 2000 km away, which covers central Europe. Reception is usually better at night.
MSF, the British time signal on 60 kHz, comes from Anthorn in Cumbria with an effective monopole radiated power of 15 kW and carries the UK time of the National Physical Laboratory.
WWVB, the time signal of NIST in the United States, comes from a site near Fort Collins, Colorado, on 60 kHz with an effective radiated power of 70 kW, and carries UTC. JJY, the Japanese time signal of NICT, has two stations with 50 kW antenna power each: Ohtakadoya-yama in Fukushima Prefecture on 40 kHz and Hagane-yama, on the border of Saga and Fukuoka Prefectures, on 60 kHz. It carries Japan Standard Time and is meant for the whole of Japan. From Europe neither can normally be received, so WWVB needs a receiver in North America and JJY one in or near Japan (see the questions at the end). MSF, WWVB and JJY from Hagane-yama share 60 kHz; the page tells them apart by their codes.
A software radio has to cover such low frequencies, by direct sampling or with an upconverter. The antenna matters most: a long wire, an active antenna, or a ferrite rod or loop turned for the strongest signal (a ferrite rod at right angles to the direction of the transmitter). Keep it away from switching power supplies, chargers and monitors, which are strong noise sources on long wave.
Use CW mode, or USB or LSB tuned beside the carrier so that a tone of 500–800 Hz results:
USB tuned to 76.8 kHz (DCF77), 59.3 kHz (MSF, WWVB, or JJY on 60 kHz) or 39.3 kHz (JJY on 40 kHz) gives 700 Hz. Choose a narrow filter, roughly 50–300 Hz, around the tone. Switch automatic gain control off or to slow and keep the gain moderate, because a fast gain control flattens the dips; WWVB and JJY hold the carrier low for up to 0.8 s, so for them this matters even more. Switch noise reduction and the notch filter off. AM and FM modes lose the phase code of DCF77; a narrow filter still lets enough of it through, and a wider one, up to about 1.5 kHz, gives a higher and sharper peak.
The signal
DCF77
The carrier is amplitude-keyed. At the start of every second its amplitude falls to about 15 % for 100 ms (bit 0) or 200 ms (bit 1). Second 59 has no dip: that gap marks the minute. The keying occupies only a few tens of hertz. The carrier’s phase also carries a pseudo-random code, which this page reads too (below).
The 59 bits give the time of the minute that begins at the next marker:
| Bits | Meaning |
|---|---|
| 0 | always 0 |
| 1–14 | weather and warning data, not decoded here |
| 15–19 | call bit, time change announced, CEST, CET, leap second announced |
| 20 | start of the time, always 1 |
| 21–28 | minute and its parity |
| 29–35 | hour and its parity |
| 36–58 | day, weekday, month, year and their parity |
Numbers are binary-coded decimal with the lowest bit first, so the bits weigh 1, 2, 4, 8, 10, 20, 40 and 80. Each parity bit makes the number of ones in its group even.
DCF77 phase code
From 0.2 s after each second mark the carrier phase is shifted to one side or the other by a pseudo-random sequence of 512 chips, equally many each way, so the mean phase stays put. Bit 0 sends the sequence, bit 1 sends it inverted. Correlating the received phase with the sequence gives one sharp peak at its start; PTB added it for a more accurate time of arrival.
| Feature | Value |
|---|---|
| Chips | 512, from a 9-stage shift register (maximal length), half of each sign |
| Chip | 120 carrier cycles: 77 500 / 120 = 645.83 Hz, 1.55 ms |
| Timing | starts 0.2 s after the second mark, lasts 793 ms |
| Phase shift | ±13° (Piester 2012), ±14.3° (PTB 2019) |
| Bits | seconds 0–9: 1, 10–14: 0, 15–58: the bits of the amplitude code |
MSF
The carrier goes fully off: 500 ms at the start of second 00 (the minute marker), 100 ms at the start of every other second, then bit A (100–200 ms) and bit B (200–300 ms), each 1 when off.
| Bits | Meaning |
|---|---|
| 01B–16B | DUT1: each 1 in 01B–08B adds 0.1 s, in 09B–16B subtracts it |
| 17A–24A | year |
| 25A–35A | month, day |
| 36A–38A | weekday, 0 = Sunday |
| 39A–51A | hour, minute |
| 52A–59A | always 01111110 |
| 53B | summer time changes within 61 minutes |
| 54B–57B | odd parity of the four groups above |
| 58B | summer time in force |
Numbers are BCD, highest bit first, for the UK time of the minute starting at the next marker. DUT1 is UT1, the time of the Earth’s rotation, minus UTC. A leap second shifts the code by a second, so the page reads it back from the marker.
WWVB
At the start of every UTC second the carrier drops by 17 dB, to about a seventh of its amplitude, and stays low for 0.2 s (bit 0), 0.5 s (bit 1) or 0.8 s (a marker). Markers fall on seconds 0, 9, 19, 29, 39, 49 and 59, so two markers in a row (59 and 0) start the minute. Unlike DCF77 and MSF, the frame gives the UTC of its own start, second 0, and it has no parity bits.
| Seconds | Meaning |
|---|---|
| 1–8 | minute |
| 12–18 | hour |
| 22–33 | day of the year, 1 to 366 (a marker at 29 in between) |
| 36–38 | sign of UT1 − UTC: 101 plus, 010 minus |
| 40–43 | UT1 − UTC in tenths of a second |
| 45–53 | last two digits of the year (a marker at 49 in between) |
| 55 | leap year |
| 56 | a leap second at the end of this month |
| 57, 58 | daylight saving time: 00 standard time, 10 starts today, 11 in force, 01 ends today |
Numbers are BCD, highest bit first; seconds 4, 10, 11, 14, 20, 21, 24, 34, 35, 44 and 54 are always 0. Bit 57 changes at 00:00 UTC on the day of a change and bit 58 24 hours later, so a clock in any US time zone knows the day and switches at 2 a.m. local time. Since 2012 WWVB also inverts the phase of its carrier to send a second code. A gap in the audio shifts the phase of the tone by an unknown amount, so a 180° inversion cannot be told apart reliably in the sound of a web receiver, which has such gaps; this page reads the amplitude code only.
JJY
JJY works the other way round: each second starts with the carrier rising from 10 % to full amplitude, and it stays up for 0.8 s (bit 0), 0.5 s (bit 1) or 0.2 s (a marker) before dropping back. The markers are on the same seconds as in WWVB, and the frame gives the Japan Standard Time (UTC+9) of its start. The fields of minute, hour and day of the year sit in the same seconds as in WWVB.
| Seconds | Meaning |
|---|---|
| 1–8, 12–18 | minute and hour |
| 22–33 | day of the year, 1 to 366 |
| 36, 37 | even parity of the hour and of the minute |
| 38, 40 | reserved, now always 0 |
| 41–48 | last two digits of the year |
| 50–52 | day of the week, 0 = Sunday |
| 53, 54 | leap second at the end of this month: 00 none, 11 inserted, 10 removed |
In minutes 15 and 45 seconds 40 to 48 carry the call sign JJY in Morse code and seconds 50 to 55 announce planned interruptions, so these minutes have no year, weekday or leap second bits; the page takes the year from the minute before. A leap second comes just before 09:00 JST on the 1st of a month, which is the end of the month in UTC: an inserted one adds a 0 at second 59 and moves the last marker to second 60.
How it works
The audio is reduced to about 4000 samples per second and a Fourier transform finds the tone. The samples are multiplied by a cosine and a sine at that frequency and averaged over 20 ms. This measures the tone’s amplitude in a band only a few tens of hertz wide, so noise beside it does not count.
Each amplitude sample is filed by its position within the second. After a few seconds this folded average shows one sharp step, the start of the second. It then tracks each falling edge, so audio clock errors do no harm. For every second it compares the mean amplitude 0–100 ms and 100–200 ms after that edge with the level later in the same second. Because these are ratios, they still work when the receiver’s gain control makes the dips shallow.
For MSF two more windows, 200–300 and 315–480 ms, are compared with the level after 520 ms. WWVB is read from the same second starts, each placed on its own falling edge: the level in 15–185, 215–485 and 515–785 ms is compared with 830–950 ms of the same second and of the second before, which WWVB never lowers. JJY rises at the start of each second, so the page folds the amplitude a second time, looks for the step up instead of the step down and follows the rising edges; it then compares 215–485, 515–785 and 830–970 ms with 30–170 ms, which is always at full level. These long windows are summed in 40 ms parts, so a jump of the audio inside one does not cancel the tone. Two markers in a row start a WWVB or JJY minute. On Automatic the page shows the station whose minute decodes first, and switches when it misses two minutes while another decodes.
For the phase code the tone is mixed down to zero frequency and a phase-locked loop follows the carrier. Once a second the remaining phase deviation is correlated with the 512 chips, each quarter of the code at its own start, so samples dropped inside a code cost little. The sign of the peak is the bit; USB and LSB turn it round, so the page learns which sign means 0 from seconds 0 to 14. An uncertain amplitude bit 15–58 is replaced by the phase bit when its peak is at least 5 times the noise, and a minute the amplitude decoder rejects is accepted from the phase code if it passes every check below.
On our test recording from a web receiver (4 October 2026) the second starts scattered by about ±4 µs from the phase code and by about ±0.65 ms from the amplitude edge. That is scatter, not accuracy: the delay of the receiver and the browser stays unknown. A line through the peaks gives the audio rate against the carrier (about −1700 ppm on that recording) and counts the jumps where samples were lost.
A DCF77 minute is accepted only if the marker, bits 0 and 20, the zone bits, all three parities, the value ranges and the weekday fit. An MSF minute needs both markers, 01111110, the four parities, the ranges and the weekday; its unprotected bits 53B and 58B must fit the British summer time rule, and DUT1 is shown when read cleanly or repeated. A WWVB minute needs every marker and every unused 0 in its place, valid digits, a day that exists in that year, a UT1 sign of 101 or 010, and leap year and daylight saving bits that fit the date; a JJY minute needs the markers, the unused 0s, both parities and a weekday that fits the date. Most of these bits have no parity, so a WWVB or JJY minute with an uncertain bit is accepted only when it continues the last accepted minute or the next minute confirms it. A minute is “verified” when the following minute is exactly one minute later.
Things to try
- Run the demo at 60× and watch a whole minute arrive every second; with JJY, send 00:13 and watch the Morse call sign in minute 15.
- Raise “Carrier during the dip” to 80 % to imitate a receiver with fast gain control.
- Add heavy noise and compare the uncertain boxes with the small phase code digits in them.
- Send 23:58 on 31 December and watch every field roll over (with WWVB in 2028 the day reaches 366); with MSF, send 00:57 on 28 March 2027 and watch bit 53B.
- Switch automatic tone off and click 60 Hz beside the tone: the dips vanish.
Frequently asked questions
Why is the decoded time slightly late?
The receiver program and the browser buffer the sound, often for a few tenths of a second. The page cannot measure that delay, so it is part of the difference shown against your computer clock. The phase code makes the start of each second sharper, but it cannot see that delay either.
Why was a minute rejected?
One misread bit breaks a parity check. The clock keeps running from the last good minute.
Can it decode other time stations?
DCF77, MSF, WWVB (its amplitude code) and JJY only. Other long-wave time stations use other codes.
Which web receivers reach 77.5, 60 and 40 kHz?
Those that cover long wave: on websdr.org the band filter LF/MF lists them. The Twente receiver above reaches DCF77 and MSF. On 14 November 2026 the list also had two receivers in the United States whose range starts at 0 Hz, one near Washington, DC and one near Los Angeles, so 60 kHz is within their range; we have not checked how well WWVB comes in on them. We found none in Japan on websdr.org, so JJY needs your own receiver in or near Japan, or a recording.
Sources
- Physikalisch-Technische Bundesanstalt (2019). About Time: Realization and Dissemination of Legal Time in the Federal Republic of Germany. PTB brochure. The transmitter site at Mainflingen, 77.5 kHz, 50 kW, reception up to 2000 km, the second marks cut to 15 % for 0.1 or 0.2 s, the time code for the following minute and the phase keying by ±14.3° at 77 500/120 Hz.
- Piester D, Bauch A, Becker J, Hoppmann A (2012). Time and Frequency Broadcast with DCF77. Proceedings of the 43rd PTTI Systems and Applications Meeting, 185–196. The meaning of bits 1 to 20, the BCD code with even parity and the pseudo-random phase keying (±13°, 512 states, 1.55 ms chips for 793 ms from 0.2 s, inverted for a 1 and in seconds 0 to 9).
- National Physical Laboratory (2019). MSF 60 kHz Time and Date Code. Anthorn, 15 kW, bits A and B, odd parity, DUT1, 53B, 58B and leap seconds.
- Lombardi MA (2002). NIST Time and Frequency Services. NIST Special Publication 432, chapter 2. The WWVB time code: 0.2, 0.5 and 0.8 s, the bits of each second (table 2.3), UTC at the start of the frame, the UT1 sign 101 or 010, the leap year and leap second bits and how bits 57 and 58 change.
- Lowe J (2013). Enhanced WWVB Broadcast Format, revision 1.01. NIST. The carrier levels in a ratio of about 7 (17 dB), the legacy bits next to the phase code (table 1), the phase code as a 180° inversion, and the repeated marker of a leap second.
- National Institute of Information and Communications Technology. The JJY signal and JJY. The two stations, 40 and 60 kHz, 50 kW antenna power, the rise from 10 to 100 % at the start of each second, 0.8, 0.5 and 0.2 s, the fields and parities, the leap second bits and timing, and the call sign minutes 15 and 45.
