Documentation

Everything you need to know about using GoGenerate

Getting Started

GoGenerate is a web-based tool that lets you create PDF files of any specified size. No installation or registration required — just open the tool and start generating.

  1. Navigate to the home page
  2. Enter the desired file size in the input field
  3. Select a size unit (Bytes, KB, MB, or GB)
  4. Click Generate & Download PDF
  5. The file will be downloaded automatically to your device

File Size Units

GoGenerate supports four standard file size units. Here's how they relate to each other:

UnitAbbreviationEquivalent
ByteB1 byte
KilobyteKB1,024 bytes
MegabyteMB1,048,576 bytes
GigabyteGB1,073,741,824 bytes

Minimum Valid PDF Size

A valid PDF file requires at least 137 bytes to contain the minimum required PDF structure (header, body, cross-reference table, and trailer). If you request a file smaller than 137 bytes:

  • The file will be automatically marked as corrupted
  • The "Generate corrupted file" checkbox will be enabled and locked
  • A warning message will appear below the generator

Corrupted File Mode

The "Generate corrupted file" option creates a PDF that has the correct file extension but contains intentionally malformed content. This is useful for:

  • Testing error handling: Verify that your application gracefully handles corrupted uploads
  • QA validation: Ensure file validation logic catches invalid PDFs
  • Edge case testing: Simulate real-world scenarios where files get corrupted during transfer

Generated File Details

  • Format: PDF (.pdf extension)
  • Content: Properly structured PDF with padding to reach exact size (normal mode), or random bytes with .pdf extension (corrupted mode)
  • Filename: generated_[size][unit].pdf (e.g., generated_5mb.pdf)
  • Storage: Files are streamed directly to your browser and are not stored on our servers

Common Use Cases

Testing File Upload Limits

Many web applications have file size limits for uploads (e.g., 5 MB, 10 MB, 25 MB). Use GoGenerate to create files right at the boundary to verify your upload validation:

  • Create a file exactly at the limit to test acceptance
  • Create a file 1 byte over the limit to test rejection
  • Create a file well under the limit as a baseline test

Storage System Testing

Generate files of known sizes to test storage quotas, disk space monitoring, backup systems, and data transfer pipelines.

Performance Benchmarking

Create files of various sizes to measure upload/download speeds, processing times, and system performance under different file size conditions.

Limitations

  • Maximum file size depends on your browser and available memory
  • Very large files (several GB) may take longer to generate and download
  • The tool requires JavaScript to be enabled in your browser
  • Generated files are not persistent — they must be downloaded immediately

Need Help?

If you encounter any issues or have questions not covered here, check the FAQ section on the home page or contact us at support@gogenerate.com.