A human-readable medium or human-readable format is a representation of data or information that can be naturally read by humans.
In computing, human-readable data is often encoded as ASCII or Unicode text, rather than presented in a binary representation. Virtually all data can be parsed by a suitably equipped and programmed computer or machine; reasons for choosing binary formats over text formats usually center on issues of storage space, as a binary representation usually takes up fewer bytes of storage, and efficiency of access (input and output) without parsing or conversion.
In most contexts, the alternative to a human-readable representation is a machine-readable format or medium of data primarily designed for reading by electronic, mechanical or optical devices, or computers. For example, Universal Product Code (UPC) barcodes are very difficult to read for humans, but very effective and reliable with the proper equipment, whereas the strings of numerals that commonly accompany the label are the human-readable form of the barcode information. In many jurisdictions, barcode labels used in retail shopping must also include a human-readable price on the merchandise.
With the advent of standardized, highly structured markup languages, such as Extensible Markup Language (XML), the decreasing costs of data storage, and faster and cheaper data communication networks, compromises between human-readability and machine-readability are now more common-place than they were in the past. In addition, these structured representations can be compressed very effectively for transmission or storage.
Human readable protocols greatly reduce the cost of debugging.
Various organizations have standardized the definition of human-readable and machine-readable data and how they are applied in their respective fields of application, e.g., the Universal Postal Union.