How to Convert a Text File to a DAT File

Techwalla may earn compensation through affiliate links in this story. Learn more about our affiliate and product review process here.
Renaming a text file to a data file is as easy as typing.

A text file is a simple file type that contains plain text in American Standard Code for Information Interchange (ASCII) format. By using ASCII format, the file can be read on any number of operating systems, including Linux, Unix, Macintosh and Windows. Text files can be opened in any number of plain text editors and word processors. Data files are often written in the same language and can also be edited by the same programs. Sometimes, saving a text file as a data file allows for more compatibility when editing between different system types.

Advertisement

Step 1

Launch the program called Notepad by double-clicking on the Notepad icon or by finding it in your list of programs. You can usually find it under the "Accessories" heading.

Video of the Day

Step 2

Click on "File," then choose "Open." Open the file that you want to convert to a data file.

Advertisement

Step 3

Make any changes you want to make to the file, then choose "Save As..."

Step 4

Find the "Save as Type" option in the menu box. From the dropdown menu choose "All files."

Advertisement

Advertisement

Step 5

Delete the default name in the "File Name" field, including the extension. Type in the name of the file you want to save and add .dat to the end of the file name. Click save.

Step 6

Close the file. To open it again, use Notepad to open the .dat file.

Video of the Day

Advertisement

Advertisement

references & resources

Report an Issue

screenshot of the current page

Screenshot loading...