Source

jsNATOTranslator /

A tiny library to bidirectionally convert between
NATO alphabet (http://en.wikipedia.org/wiki/NATO_phonetic_alphabet)
and plain text.
Simply include the javascript file and call it using:
NATOTranslator.char_to_nato("test")
This will return "tango echo sierra tango".
Or by calling:
NATOTranslator.nato_to_char("tango echo sierra tango")
This will return "test".