Both ASCII and TXT files are just text files so editable using any text editor and you can rename the extension freely. However you may have been looking for a way to convert ASCII numbers to a text in which case it would be best to use websites like ASCII to text converter.
Open ASCII file Open TXT fileA text format conversion utility
An online tool for generating ASCII number from text
One of the many text viewers and editors