top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

Difference between text and binary files ?

+3 votes
Difference between text and binary files ?
posted Sep 19, 2014 by Harshita

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

Technically speaking there is no difference between text and binary file. But we can discuss the binary format and text format -

Binary files typically contain a sequence of bytes (most of time contains unreadable characters). When creating a custom file format for a program, a developer arranges these bytes into a format that stores the necessary information for the application so that it can be identified. You can open .png file in vi or any similar editor for the same. Whereas Text files are more restrictive and can only contain textual data.

answer Sep 19, 2014 by Salil Agrawal