Text vs Binary Formats

Debate on advantages of plain text formats over binary ones, highlighting human readability, universal tooling, Unix philosophy, and debugging ease despite binary's efficiency.

➡️ Stable 0.5x Open Source
3,396
Comments
20
Years Active
5
Top Authors
#257
Topic ID

Activity Over Time

2007
1
2008
10
2009
22
2010
44
2011
66
2012
87
2013
127
2014
146
2015
160
2016
221
2017
221
2018
132
2019
225
2020
246
2021
380
2022
394
2023
300
2024
263
2025
328
2026
23

Keywords

FOSS CSV ROFF UNIX UTF8 TAOUP XML DER ASCII pollux.casa text format plain text binary formats plain readable unix xml text files

Sample Comments

allears Jan 16, 2023 View on HN

Why not just write it in plain text?

account-5 Apr 27, 2025 View on HN

Text is universally accessible and widely supported. Binary has it's benefits, but human facing, it has to be text.

AlfaWolph May 7, 2015 View on HN

He's referring to the universal format being text itself.

eviks Sep 11, 2024 View on HN

Why would you need text format when only machines are involved?

sweetsocks21 Dec 27, 2025 View on HN

For a computer, text is a binary format like anything else. We have decades of tooling built on handling linear streams of text where we sometimes encode higher dimensional structures in it.But I can't help feel that we try to jam everything into that format because that's what's already ubiquitous. Reminds me of how every hobby OS is a copy of some Unix/Posix system.If we had a more general structured format would we say the opposite?

guelo Jul 9, 2013 View on HN

Plain-text formats have always been slower for things that are not plain text. But even 30 years ago, when computers were even slower, Unix designers decided plain text was still the way to go, because it was easier to debug and easier for humans to work with. No specialized tools required, no poring over hex dumps. HTML won over other document formats. JSON and XML won over other binary formats. Any coder can look at JSON and see what is being transferred, without the aid of anything but a text

zzo38computer Aug 9, 2025 View on HN

I used the URL gemini://adele.pollux.casa/gemlog/2025-08-04_why_I_prefer_human-readble_file_formats.gmi (the one linked to directly does not work on my computer).I prefer binary file formats (including DER) for many things, and I will respond to the individual parts as well as my own comments.> With human-readable formats, you're never locked out of your own data. Whether you're on a fresh Linux installation, a locked-down corporate machine, or troubleshoot

zzo38computer Jul 27, 2022 View on HN

That is because it is a plain text, so it does not have those problems. My opinion is that plain text is good idea.

cocochanel Mar 17, 2019 View on HN

What's wrong with text files?

NortySpock Jul 9, 2021 View on HN

Text is preferred because a regular layperson might be able to read it if stuff breaks. See: XML, Json.