What is the Dancing Men cipher?
The Dancing Men cipher is a monoalphabetic substitution cipher featured in Arthur Conan Doyle’s 1903 Sherlock Holmes story, The Adventure of the Dancing Men. Each English letter is replaced by a figure in a particular pose, with flags indicating word boundaries.
Letter frequencies and word patterns remain visible, making it useful for learning classical cryptography but unsuitable for protecting modern sensitive information.
How to use the translator
- Enter English letters in the Encode tab.
- Choose a flag mode and export the image as needed.
- To decode, select each figure in order or paste font notation.
Full-width Latin letters are normalized; numbers and punctuation are omitted. Repeated whitespace and line breaks are treated as one separator.
Frequently asked questions
What do flags mean?
Flags usually mark the end of a word. In HELLO WORLD, the default option puts flags on O and the final D.
Can this decode a CTF image automatically?
This version uses manual figure selection, not image recognition. Some alphabets use different supplemental glyphs, so consult the challenge’s chart if a figure does not match.
Are all glyphs from the original story?
The letters F, J, K, Q, U, W, X and Z are absent from the original story. This tool follows the supplemental GL-DancingMen chart.
Is my text sent to a server?
Cipher processing is local, and your input is not transmitted or stored. Only the theme and figure order preferences are saved in localStorage. Ads and analytics are not installed.