Messages intercepted at Bletchley Park using the Enigma machine are now set to be digitised.
The German military messages, after digitisation, will be made publicly available online.
The future of the messages, which have lain in government archives for more than six decades, was under threat as the Bletchley Park complex in which they are held is up for demolition by authorities, due to lack of funds.
Simon Greenish, head of the Bletchley Park Trust, said that a five-year project to digitise the intercepted enemy communications had already been envisaged, but had been shelved due to a lack of funds.
A new plan to digitise the archive has been launched in order to save the documents from being lost.
The Bletchley Park documents provided Allied forces during the war with an insight into Nazi plans. They include messages from the German spymaster Garbo and the double agent, Eddie Chapman.
The equipment needed to carry out the digitisation has been provided by Hewlett Packard (HP).
The crypto-analysts will decode the handwritten messages using HP's Kofax Virtual rescan software.