A method and program for composing computer messages in formats, such as SGML, book manager script or an formatted display. The method enables the composer to compose the computer message without any special knowledge of the format tags and rules for the formats. The composer enters the messages in a template on a web page and the program converts the unformatted messages to messages in a format selected by the composer. The composer can then copy the formatted message to a computer message file or to any other file or application.