FileDummy Logo
FileDummy
Technical Guides for Developers

Developer File Handling Blog

Practical tutorials on file upload, security, processing, QA testing, and cloud storage. Every article links to a free sample file download.

File Upload & Handling

Frontend and backend upload techniques

6 articles
File Upload & Handling

Drag and Drop File Upload in React with react-dropzone

Build a polished drag-and-drop file upload component in React using react-dropzone. Covers MIME filtering, file previews, and upload progress with working code.

#react#react-dropzone#drag-drop
9 min readOct 29, 2026
File Upload & Handling

File Upload Validation: Size, Type & Extension (Frontend + Backend)

Complete guide to file upload validation — checking size, MIME type, and extension on both frontend and backend with Node.js. Download exact-size test files.

#javascript#nodejs#validation
8 min readOct 11, 2026
File Upload & Handling

Resumable File Uploads with tus Protocol — JavaScript Guide

Implement resumable file uploads in JavaScript using the tus protocol and tus-js-client. Handles network failures gracefully. Test with a free 1GB dummy file.

#javascript#tus-protocol#resumable-upload
10 min readSep 23, 2026
File Upload & Handling

Multipart Upload to S3 and Cloudflare R2 with Node.js

Step-by-step guide to AWS S3 multipart uploads using the AWS SDK v3 in Node.js. Fully compatible with Cloudflare R2. Test with a free 500MB sample file.

#nodejs#aws-s3#cloudflare-r2
11 min readSep 20, 2026
File Upload & Handling

File Upload Progress Bar: HTML5 + Fetch API Complete Guide

Build a real-time file upload progress bar using HTML5 and XMLHttpRequest. Includes CSS animation and a free 50MB DOCX test file to validate your implementation.

#javascript#html5#xhr
9 min readSep 17, 2026
File Upload & Handling

How to Upload Large Files in Chunks with JavaScript

Learn chunked file upload with JavaScript and the Fetch API. Includes working code, error handling, and free 100MB test files to validate your implementation.

#javascript#file-upload#fetch-api
10 min readSep 14, 2026

File Security & Integrity

Hashing, encryption, and validation

6 articles
File Security & Integrity

Presigned URLs: Secure File Downloads from S3 and Cloudflare R2

Generate time-limited presigned URLs for secure file downloads from AWS S3 and Cloudflare R2 using the AWS SDK v3 in Node.js. No public bucket exposure required.

#nodejs#aws-s3#cloudflare-r2
9 min readNov 1, 2026
File Security & Integrity

How to Encrypt a File Before Uploading: AES-256 in the Browser

Encrypt files client-side with AES-256-GCM using the Web Crypto API before uploading to cloud storage. Zero-knowledge upload tutorial with working code.

#javascript#cryptography#aes-256
10 min readOct 14, 2026
File Security & Integrity

File Type Validation with Magic Bytes (Not File Extension)

Detect true file types using magic bytes in Node.js with the file-type library. Extension-based validation is trivially bypassed — learn the secure approach.

#nodejs#security#magic-bytes
9 min readSep 26, 2026
File Security & Integrity

Scan Uploaded Files for Viruses: ClamAV + Node.js Integration

Integrate ClamAV antivirus scanning into your Node.js file upload pipeline. Protect your application from malicious uploads with real-world code examples using clamscan.

#nodejs#security#clamav
11 min readSep 20, 2026
File Security & Integrity

How to Verify File Integrity After Download (Checksum Guide)

Verify file integrity using MD5, SHA-256, and SHA-512 checksums on Windows, macOS, and Linux. Command-line examples and pre-hashed sample files for immediate testing.

#security#checksum#md5
8 min readSep 17, 2026
File Security & Integrity

How to Hash a File in JavaScript: SHA-256, MD5, and SHA-1

Calculate file checksums in JavaScript using the Web Crypto API (SHA-256) and crypto-js (MD5, SHA-1). Browser and Node.js examples with sample test files.

#javascript#cryptography#sha256
9 min readSep 14, 2026

File Processing & Conversion

PDF, DOCX processing and format conversion

6 articles
File Processing & Conversion

Generate PDF from HTML in Node.js: Puppeteer vs playwright-pdf

Compare Puppeteer and Playwright for HTML-to-PDF generation in Node.js. Covers CSS print styles, page size, headers and footers, and performance benchmarks.

#nodejs#puppeteer#playwright
11 min readNov 4, 2026
File Processing & Conversion

Merge and Split PDF Files Programmatically with pdf-lib

Merge multiple PDFs into one or split a PDF into pages using pdf-lib in Node.js. Pure JavaScript, no native binaries required. Working code examples included.

#nodejs#pdf#pdf-lib
10 min readOct 17, 2026
File Processing & Conversion

Parse and Read DOCX Files with mammoth.js — Node.js Tutorial

Extract text and HTML from Microsoft Word DOCX files in Node.js using mammoth.js. Covers style mapping, custom transforms, and testing with 1MB–50MB DOCX samples.

#nodejs#docx#mammoth
9 min readSep 29, 2026
File Processing & Conversion

Extract Text from PDF in JavaScript: pdf-parse vs pdfjs-dist

Compare pdf-parse and pdfjs-dist for extracting text from PDF files in Node.js and the browser. Covers multi-column layouts, Unicode text, and OCR for scanned PDFs.

#nodejs#pdf#text-extraction
11 min readSep 20, 2026
File Processing & Conversion

How to Compress and Reduce PDF File Size with JavaScript

Reduce PDF file size in Node.js using Ghostscript and pdf-lib. Compare compression methods and test results with 100MB–500MB sample PDF files.

#nodejs#pdf#compression
9 min readSep 17, 2026
File Processing & Conversion

Convert PDF to DOCX Programmatically with Node.js (2026 Guide)

Convert PDF files to editable DOCX format in Node.js using LibreOffice headless and Adobe PDF Services API. Compare approaches with 1MB–50MB sample test files.

#nodejs#pdf#docx
10 min readSep 14, 2026

Testing & QA with Files

E2E, unit, and load testing with files

5 articles

Cloud Storage & CDN

S3, R2, CDN, and streaming

5 articles

File Formats & Deep Dives

Internals, encoding, MIME types

5 articles
File Formats & Deep Dives

MIME Types Complete Reference: The Web Developer's Guide

Complete guide to MIME types (Content-Type) for web developers. Common MIME types, how browsers use them, server configuration, and security implications.

#mime-types#content-type#http
10 min readOct 26, 2026
File Formats & Deep Dives

File Sizes Explained: Bytes, KB, MB, GB, TB — The Developer Guide

Understand file size units — the difference between kilobytes and kibibytes, decimal vs binary prefixes, and how operating systems calculate and display file sizes.

#file-size#bytes#kb
8 min readOct 8, 2026
File Formats & Deep Dives

UTF-8 vs UTF-16 vs UTF-32: Text File Encoding Explained Simply

Understand the difference between UTF-8, UTF-16, and UTF-32 text encoding. Learn BOM, code points, byte order, and when each encoding is the right choice for developers.

#encoding#utf-8#utf-16
9 min readSep 20, 2026
File Formats & Deep Dives

DOCX File Format: It's Just a ZIP of XML Files (Deep Dive)

Explore the DOCX OpenXML format — unzip a Word document and discover the XML structure inside. Learn about document.xml, relationships, styles, and embedded media files.

#docx#openxml#file-format
11 min readSep 17, 2026
File Formats & Deep Dives

PDF File Format Internals: How a PDF Is Actually Structured

Deep dive into the PDF file format — cross-reference tables, object streams, page tree, content streams, and fonts. Understand what is inside a PDF at the binary level.

#pdf#file-format#internals
13 min readSep 14, 2026