]> git.ardis.lu - zip-page/summary
 
descriptionMinimal utility for zipping entire web pages into a URL.
last changeSun, 28 Jun 2026 06:05:21 +0000 (23:05 -0700)
readme

zip-page

Minimal utility for zipping entire web pages into a URL.

Uses the Compression Streams API for gzip.

Code repository mirrors: GitHub, Codeberg, git.ardis.lu

Example usage

  1. Copy the HTML for a web page you want to share:
<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Hello, world!</title>
</head>

<body>
  <main>
    <p>This is a whole HTML page!</p>
  </main>
</body>

</html>
  1. Paste the entire HTML code into the text area:

HTML copied verbatim into the text area

  1. Click "Get zip-page URL" to compress and encode the HTML into a URL:

URL with the compressed HTML encoded into the hash

  1. Open the URL in any web browser to view your zip-page:

Web browser displaying the zip-page

Maximum content size

The maximum size of content you can store using this tool will depend on:

From my basic testing I found the rough limits to be around:

Similar projects

shortlog
2026-06-28 Ardis LuSimplify base64 encoding main
2026-03-25 Ardis LuAdd code repository mirrors
2026-03-24 Ardis LuAdd MIT license
2025-01-26 Ardis LuSimplify font stacks
2023-12-15 Ardis LuDynamically load main script and styles
2023-12-15 Ardis LuExplicitly declare render blocking
2023-10-25 Ardis LuUpdate images to new URL
2023-10-22 Ardis LuAdd section on max content size
2023-10-22 Ardis LuAdd NoPaste as a similar project
2023-10-03 Ardis LuUse href instead of origin
2023-10-02 Ardis LuAdd "Example usage" section
2023-10-02 Ardis LuAdd meta tags
2023-10-01 Ardis LuUpdate page when preview link is clicked
2023-09-30 Ardis LuDon't show original UI if there's any hash
2023-09-28 Ardis LuTruncate and wrap output
2023-09-27 Ardis LuInitial commit
heads
3 months ago main
This page took 0.067173 seconds and 7 git commands to generate.