Save Page Text as File
Free to download on every platform. Comes pre-installed on BotFone, BotPad and BotFlip — with extra free apps included.
About this app
WHAT IT DOES
Save Page Text as File extracts all visible text content from the current page, removing scripts, styles, and hidden elements to give you clean, readable text. The tool preserves paragraph structure by default, keeping the natural flow of the content intact. You can include metadata (page title, URL, and current date) at the top of the output, add line numbers for reference, and choose between plain text (.txt) or HTML (.html) output formats. A live preview shows the extracted text before you save it, allowing you to verify the content. The extracted text can be saved as a downloadable file or copied directly to your clipboard.
WHERE IT RUNS
The extension runs entirely within your browser's local environment using the BotGentz framework. All text extraction, processing, and file generation occur on your machine without any network requests. No page content, extracted data, or user activity is ever transmitted, uploaded, or stored externally. The tool works on any website and respects the browser's security boundaries, operating within the isolated extension sandbox.
HOW TO USE
Click the extension toolbar icon to open the Save Page Text as File panel. Click "Extract Text" to scan the current page and display a preview of the extracted text in the panel. The preview shows the first 8000 characters; the full text is used when saving or copying. Click "Save as File" to download the extracted text as a .txt or .html file—the filename uses the page title. Click "Copy to Clipboard" to copy the full extracted text to your clipboard. Choose the output format using the dropdown (Plain Text .txt or HTML .html). Toggle "Include metadata" to add the page title, URL, and date. Toggle "Preserve paragraphs" to maintain the paragraph structure. Toggle "Include line numbers" to add line numbers to the output. Toggle "Auto download on extract" to automatically download the file when you extract text.
THE TEXT EXTRACTION ENGINE — WHY IT WORKS
Most page text extractors simply grab the textContent of the entire document, including hidden elements, scripts, and styles that clutter the output. This tool uses a DOM-based approach: it clones the page body, then removes all unwanted elements (script, style, noscript, iframe, svg, canvas, and any element with display:none or hidden attribute). The remaining elements are then processed with paragraph preservation: the tool scans for block-level elements (p, div, headings, li, blockquote, pre, address) and extracts their text content with double line breaks between them, preserving the document's natural structure. For pages without paragraph elements, it falls back to the full textContent with whitespace normalization. The metadata injection prepends the page title, URL, and timestamp as a clean header. Line numbering is added by splitting the text into lines and prefixing each with its index. This multi-layered approach ensures you get clean, usable text suitable for reading, archiving, or further processing.
THE PANEL
The Save Page Text as File panel is fully draggable by its title bar and remembers its position on screen per website. It snaps to the edges of your browser window for clean alignment. Collapse the panel to a compact icon strip using the minimize button, restoring it with a single click. Resize the panel by dragging any edge or corner; the text preview and controls adjust proportionally. Press the Escape key to close the panel instantly. The panel maintains independent state for each browser tab, allowing you to extract text from multiple tabs simultaneously.
PLEASE NOTE
This extension requires the free BotGentz extension framework to be installed and enabled. The tool extracts visible text only; text inside images, videos, or canvas elements cannot be extracted. Pages with complex dynamic content may require the page to be fully loaded before extraction. All extracted text is processed locally and is never transmitted, logged, or shared. The extension requests no network permissions and functions entirely offline. The source code is fully auditable and available for review.