

{"id":275,"date":"2026-06-14T21:25:03","date_gmt":"2026-06-14T21:25:03","guid":{"rendered":"https:\/\/apropostechsolutionscorp.ca\/blog\/?p=275"},"modified":"2026-06-14T21:25:03","modified_gmt":"2026-06-14T21:25:03","slug":"document-types-formats-file-size-part-0","status":"publish","type":"post","link":"https:\/\/apropostechsolutionscorp.ca\/blog\/2026\/06\/14\/document-types-formats-file-size-part-0\/","title":{"rendered":"Document types, formats: file size, part 0"},"content":{"rendered":"\n<h3>Looking at relative file sizes for the same content.<\/h3>\n<p>\nThe following is by my understanding.<\/p>\n<p>\nOne issue that&#8217;s long interested me is file size. I opened a plain-text document, then typed Hello world! and saved it. Next, I did the same for a Word (docx) document. Then, I also saved the docx as a pdf in Word. Finally, I compressed both the docx and the pdf to respective zip files.<\/p>\n<p>\nHere are the relevant file sizes:<\/p>\n<ul>\n<li>.txt file: 12 bytes<\/li>\n<li>.docx file: 13 kilobytes<\/li>\n<li>.pdf file: 71.9 kilobytes<\/li>\n<li>compressed .docx file: 10.4 kilobytes<\/li>\n<li>compressed .pdf file: 60.6 kilobytes<\/li>\n<\/ul>\n<p>\nToday I looked into the .docx format specifically, why it might be so much bigger than its plain-text version.<\/p>\n<p>\nIt turns out that the .docx format consists of numerous .xml files that describe said document. Said files, one might suspect, amount to overhead of about 13 kilobytes.<\/p>\n<p>\nInteresting, eh?<\/p>\n<p>\nSource:<\/p>\n<p><a href=\"https:\/\/www.agiledocumentation.co.uk\/2016\/06\/a-closer-look-at-docx-files.html\">agiledocumentation.co.uk<\/a><\/p>\n<p><a href=\"https:\/\/apropostechsolutionscorp.ca\">-JS<\/a><\/p>\n\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Looking at relative file sizes for the same content. The following is by my understanding. One issue that&#8217;s long interested me is file size. I opened a plain-text document, then typed Hello world! and saved it. Next, I did the same for a Word (docx) document. Then, I also saved the docx as a pdf [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[20,21],"tags":[87,83,86,85,82,84,22,88],"class_list":["post-275","post","type-post","status-publish","format-standard","hentry","category-document-types","category-formats","tag-compressed-file","tag-docx","tag-file-size","tag-file-types","tag-pdf","tag-txt","tag-xml","tag-zip"],"_links":{"self":[{"href":"https:\/\/apropostechsolutionscorp.ca\/blog\/wp-json\/wp\/v2\/posts\/275","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/apropostechsolutionscorp.ca\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/apropostechsolutionscorp.ca\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/apropostechsolutionscorp.ca\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/apropostechsolutionscorp.ca\/blog\/wp-json\/wp\/v2\/comments?post=275"}],"version-history":[{"count":12,"href":"https:\/\/apropostechsolutionscorp.ca\/blog\/wp-json\/wp\/v2\/posts\/275\/revisions"}],"predecessor-version":[{"id":287,"href":"https:\/\/apropostechsolutionscorp.ca\/blog\/wp-json\/wp\/v2\/posts\/275\/revisions\/287"}],"wp:attachment":[{"href":"https:\/\/apropostechsolutionscorp.ca\/blog\/wp-json\/wp\/v2\/media?parent=275"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/apropostechsolutionscorp.ca\/blog\/wp-json\/wp\/v2\/categories?post=275"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/apropostechsolutionscorp.ca\/blog\/wp-json\/wp\/v2\/tags?post=275"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}