Recommended Free Tools
Use a browser automation script to read the page title after it loads, sanitize that text into a safe filename, and save the screenshot to that path. With Playwright, the core steps are page.title() and page.screenshot({ path }). Add a date or other unique identifier so captures with the same title do not overwrite one another.
Save a screenshot using the page title in Playwright
This runnable Node.js example uses Playwright to open a URL, wait for navigation, read its title, create a filesystem-safe name, and save a full-page PNG. It also writes a small JSON sidecar containing the original URL, title, timestamp, and capture mode so the filename is not your only record of provenance.
import { chromium } from 'playwright';
import { writeFile } from 'node:fs/promises';
const url = process.argv[2];
if (!url) throw new Error('Usage: node archive.mjs https://example.com');
const browser = await chromium.launch();
try {
const page = await browser.newPage();
await page.goto(url, { waitUntil: 'load' });
// If the site changes its title client-side, wait for that update before this line.
const title = await page.title();
const safeTitle = title
.normalize('NFKC')
.replace(/[\/:*?"<>|u0000-u001F]/g, '-')
.replace(/s+/g, ' ')
.trim()
.replace(/[. ]+$/g, '')
.slice(0, 120) || 'untitled-page';
const timestamp = new Date().toISOString().replace(/[:.]/g, '-');
const filename = `${safeTitle}-${timestamp}.png`;
await page.screenshot({ path: filename, fullPage: true });
await writeFile(`${filename}.json`, JSON.stringify({
url,
title,
capturedAt: new Date().toISOString(),
fullPage: true
}, null, 2));
console.log(`Saved ${filename}`);
} finally {
await browser.close();
}
Install Playwright in a project first (npm install playwright) and install the browser it needs with npx playwright install chromium. Save the script as archive.mjs, then run node archive.mjs https://example.com. The filename sanitizer and 120-character title limit here are practical choices, not rules imposed by Playwright.
Make filenames safe and useful
Page titles are written for people, not filesystems. They may be empty, repeated across sites, misleading, or include punctuation that cannot be used in some filenames. The example replaces common disallowed characters, collapses whitespace, trims trailing periods and spaces, and falls back to untitled-page if nothing remains.
#1 Best Overall
- 2x3" Portable Photo Printer: The upgraded PP01 photo printer uses advanced inkjet technology. This portable photo printer produces vivid, full-color prints on premium sticky-backed photo paper that is smudge-proof, water-resistant, and tear-resistant. The Nelko mini photo printer is pocket-sized and weighs only 308g, making it ultra-portable for school, travel, and field trips. Each ink cartridge prints up to 80 full-color 2x3 photos on sticky-backed paper
- Easy Printing via Bluetooth: The PP01 mini photo printer is compatible with iOS and Android phones via Bluetooth. Simply download the Nelko app from Google Play or the App Store. Load the 2x3 photo paper with the smooth side facing down. Install the ink cartridge, connect via Bluetooth, and print directly using the Nelko app. A USB charging cable is included; the adapter is not included
- High Photo Quality: This mini photo printer uses advanced inkjet technology for clear, vibrant prints. This portable photo printer produces 600 DPI high-resolution images with precise colors, capturing fine details and realistic tones. Each photo comes with adhesive backing, perfect for scrapbooks and preserving your memories. Personalize every photo for holidays, birthdays, or daily events
- Powerful App: The Nelko 2x3" PP01 photo printer app lets you edit photos and offers a variety of frame designs, making it perfect for personalizing your photos for projects like scrapbooking or journaling. Download the Nelko app to create collages and customize photos with filters, graffiti, borders, stickers, text, AI image editing, and many other features. Edit photos on your phone, then send them to the Nelko app for instant printing in under 90 seconds
- Versatile Usage Scenarios: This portable photo printer is ideal for travel journals, party favors, and family gatherings. Students use it for planners and photo printing. Crafters use it for DIY projects, custom labels, and scrapbooking. It's a practical tool for bloggers, small businesses, and event photographers to create instant giveaways. Perfect for Mother's Day surprises and heartfelt moments with loved ones using Nelko sticky-backed photo paper.
- Prevent collisions: the timestamp makes repeated captures of the same title distinct. For a stable archive, use a unique ID or a collision-checking scheme instead. Avoid silently reusing a filename.
- Keep names bounded: the example limits the title component to 120 characters. Filesystem limits apply to the encoded filename and the full path, so a long directory path can still be a problem.
- Preserve provenance: retain the original URL, capture time, and relevant settings in a sidecar file or index. A title-derived filename alone cannot reliably identify the source.
- Normalize consistently: Unicode normalization can make visually equivalent titles more consistent, but it does not guarantee identical filename behavior across operating systems.
Choose viewport or full-page capture
Playwright’s fullPage: true option captures the full scrollable page; without it, the screenshot is of the current viewport. A full-page image may be exceptionally tall, and pages that load content as the visitor scrolls may need additional handling before capture. Choose based on whether the archive needs the initial view or the whole rendered page. See the Playwright Page API and Playwright screenshot documentation.
Other ways to set the screenshot filename
| Method | How title-based naming works | Full-page capture and output path |
|---|---|---|
| Playwright script | Read the title with page.title(), sanitize it, then build the screenshot path. |
Set fullPage: true and pass the path to page.screenshot(). |
| Playwright CLI | The CLI accepts a filename, but title-derived naming requires a script or separate step to read and transform the title. | Its screenshot command accepts --filename=<f> and --full-page. If omitted, the documented default filename includes a timestamp. See Playwright CLI screenshots. |
| shot-scraper | Supply the title-derived name with its output option after obtaining the title separately. | Use -o for the output filename; its Release 1.3 documentation says omitting height produces a full-page screenshot. It follows redirects. See the shot-scraper Release 1.3 documentation. |
For a one-off capture, a CLI can be convenient when you already know the desired filename. Dynamic naming from each page’s own title is most direct in a script, because the browser can retrieve the title and use it immediately. shot-scraper’s cited documentation also describes dumping final rendered HTML after JavaScript runs, but that is not established as a complete, replayable website archive.
Rank #2
- User-Friendly Portable Photo Printer for iPhone, Android & PC - Get beautiful and colourful memories with Liene 4x6 photo printer! After opening the entire package, you can find one cartridge + 20 sheets of photo paper (placed inside the machine packaging), as well as an additional box containing 80 sheets of photo paper (which includes two cartridges + 80 sheets of photo paper). Full package includes smartphone photo printer, Liene 4x6 photo printer papers (100 sheets), 3 colour cartridges, and fully sealed cassette to prevent dust. Minimalist and magnetic design for compact storage.
- Superior Quality 4x6 Photo Printer - Print photos like no other thanks to the thermal-dye sublimation tech adopted by the picture printer for iphone. The dyes deeply penetrate the paper for vibrant photo printing, and the laminated surface is resistant to water, scratches, fingerprints and fading. Clean the print head promptly if smudges are observed on printed photos during operation. Get Liene photo printers now for yourself and your loved ones, print your happy moments together and keep your love forever!
- Wi-Fi Photo Printer for Smartphone - The built-in hotspot of the photo printer makes it easy to print pictures from your phone, avoiding outside interference with a fast and stable connection. No other networks required! Simply connect your device to the independent instant photo printer 4x6 hotspot.
- Multiple Device Compatibility - Liene phone printer provides instant photo printing for up to 5 simultaneous connections. Share with family and friends or print from your different devices. No additional cables or Bluetooth required when printing photos with this picture printer. Note: Ensure the ink cartridge clicks into place before printing.
- Customize your Printing with the Liene App - Customize your photos with our specialized App! You can add a Square border, insert filters, enhance the contrast and brightness, check printing status, and more. You can even print your ID and Visa photos from home with this photo printer for iphone 4x6 prints.
What a screenshot archive does—and does not—preserve
A screenshot records a visual rendering at capture time. It does not, by itself, preserve links, source text as structured content, scripts, network resources, or interactive behavior; nor does it prove the page can later be reconstructed. If you need future replay or preservation, use a purpose-built web archiving workflow and keep the screenshot as a visual companion. The Playwright documentation distinguishes visual screenshots from accessibility snapshots used to understand page structure and read text.
Troubleshoot title-based screenshot saves
- The title is blank: the document may not have set a title yet, or the site may leave it empty. Wait for a known title update when appropriate; keep the fallback filename and record the URL in metadata.
- The saved title is stale: some pages update the title after initial navigation. Wait for the relevant page state before calling
page.title(); a generic network-idle wait is not a guarantee that every site has finished its client-side work. - Two images overwrite each other: titles are not unique. Add a timestamp, stable identifier, or collision check before saving.
- The filename is rejected or the path is too long: check the target operating system’s filename restrictions and shorten the title or directory path. The example handles common reserved characters but cannot guarantee compatibility with every filesystem.
- The full-page image is incomplete or unusually tall: decide whether viewport capture is more appropriate, and account for lazy-loaded content that appears only after scrolling. The screenshot option captures the page’s scrollable extent; it does not promise every site-specific deferred element has loaded.
- Navigation or capture fails: inspect the browser error and page behavior, and confirm the URL is reachable from the machine running the script. The sample uses
finallyto close the browser even when capture throws.
Or skip the browser setup
ScreenshotNeo can return a screenshot or PDF with one GET request, without installing and managing a browser for this capture. It does not document a page-title-to-filename feature, so use a local script if the output filename itself must be derived from the title; the API can still provide the image bytes for your own naming workflow.
Quick Recap
Best Value
- STEP UP YOUR PRINTING GAME. KODAK Step Printer Connects to Any iOS or Android Device [Via Bluetooth or NFC] Turn Your Selfies, Portraits, Social Media Posts Into Physical Photos.Package Includes : KODAK STEP Instant Mobile Photo Printer, Micro USB Charging Cable, Starter Pack of KODAK ZINK Photo Paper, Quick Start Guide, Limited Warranty
- AMAZING ZERO-INK TECHNOLOGY. ZINK 2” x 3” Sticky-Back Paper with Embedded Dye Crystals Delivers High-Quality, Durable, Affordable, Beautifully Detailed Prints That are Resistant to Moisture, Rips, Tears & Smudges.
- FULL EDITING SUITE VIA APP. Download the KODAK App to Create Collages & Customize Your Snaps with Stunning Filters, Interesting Borders, Cool Stickers, Funny Text & Other Personalized Flair.
- TAKE YOUR PROJECTS TO GO. Our Palm-Sized Printer Weighs Less Than a Pound, Sets Up Fast & Delivers Gorgeous Prints You Can Peel & Stick Everywhere.
- CUTE, COMPACT & COLORFUL. Step Printer is Designed for Photo-Loving Influencers & Crafters of All Ages & Skill Levels! Portable, Lightweight Device Features Built-In Lithium-Ion Rechargeable Battery [Prints 25 Photo on a Full Charge]
Rank #4
- Instant Photo Printing: The KODAK Mini 2 Retro is a portable photo printer designed to turn smartphone pictures into high quality prints in seconds. Whether capturing family moments, travel highlights, journaling pages, or creative projects, this mini printer lets you print real photos anytime, anywhere.
- Genuine 4PASS dye sublimation printing: Each photo is produced in three color layers and finished with a clear protective lamination layer. In approximately 55 seconds, you receive a smooth, detailed print designed to resist fingerprints, water, and fading for long-lasting quality.
- Easy to Use: Print photos quickly without complicated setup or technical steps. Simply power on, connect wireless bluetooth, and start printing within seconds. The Mini 2 Retro is built for straightforward operation, making it ideal for first time users and everyday photo printing.
- Print Anytime, Anywhere: Small enough to fit in your hand, bag, or even a pocket, the Mini 2 Retro is built for on-the-go printing. Ideal for parties, trips, school projects, scrapbooks, and spontaneous moments where you want real prints without waiting.
- KODAK Photo Printer APP: Featuring integrated Bluetooth connectivity, this portable printer connects to compatible iOS and Android devices through the KODAK Photo Printer app. Edit, crop, and customize your photos before printing for creative results.
Rank #3
- Dock Photo Printer: The KODAK Dock Plus is a home photo printer that produces high-quality 4x6” prints directly from compatible smartphones. Featuring an integrated docking station, users can place their phone on the printer for better connection while simultaneously charging the device during printing.
- Genuine 4PASS dye sublimation printing: Each photo is produced in three color layers and finished with a clear protective lamination layer. In approximately 55 seconds, you receive a smooth, detailed print designed to resist fingerprints, water, and fading for long-lasting quality.
- Easy to Use: Print photos quickly without complicated setup or technical steps. Simply power on, connect wireless bluetooth, and start printing within seconds. The Dock Plus is built for straightforward operation, making it ideal for first time users and everyday photo printing.
- Home Printing Station: Designed for stable desktop use, this dock photo printer connects to a power outlet for consistent performance and larger 4x6” prints. Ideal for home printing, photo albums, framing, family events, and everyday picture printing.
- KODAK Photo Printer APP: Featuring integrated Bluetooth connectivity, this portable printer connects to compatible iOS and Android devices through the KODAK Photo Printer app. Edit, crop, and customize your photos before printing for creative results.
curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://stripe.com -o shot.webp
See the ScreenshotNeo API documentation for request options. Cookie banners, popups, and chat widgets are removed before capture; bot checks, blank pages, and failed loads are never billed. An MCP server lets AI agents use screenshot tools. The Free plan includes 1,000 screenshots a month with no card; paid plans start at $5 for 3,000. Learn about ScreenshotNeo, or sign up free and get 1,000 screenshots a month with no card.
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

