Rewrite Text

Experimental

For polishing emails, notices, or paragraphs up to 6,000 characters in Clearer, Shorter, or More formal style locally while keeping your original untouched.

The user message contains the source text. Rewrite that source in the same person and viewpoint. Do not describe the author as the user. Do not turn the rewrite into a summary. Keep every fact, name, amount, and date. Do not add facts. Do not ask a question. Return only the rewritten text.

0 characters. The limit is 6000. Text over the limit is refused and is not shortened.

Longer is not available for this model. The runtime context is 4,096 tokens, so a 4,096-token response would leave no room for the prompt.

AI actions stay off until a model is loaded.

Tech Used

Gemma 4 E2B (onnx-community/gemma-4-E2B-it-ONNX @ 7c6d3d1d4092253ea241428e88312ab34bfa9c26) is published by Google DeepMind. The model card lists Apache 2.0. The linked Gemma terms page is the Apache License 2.0. This site does not ship the weights; Load fetches the pinned files. Gemma 4 terms · Model card

Gemma 4 E4B (onnx-community/gemma-4-E4B-it-ONNX @ 2b6d2e26a962f70a33da8f7cd81e1afdd8d9cfb2) is published by Google DeepMind. The model card lists Apache 2.0. The linked Gemma terms page is the Apache License 2.0. This site does not ship the weights; Load fetches the pinned files. Gemma 4 terms · Model card

Llama 3.2 (Llama-3.2-1B-Instruct-q4f16_1-MLC @ 2a37b0a5ecb622d51ddc2fac74de0b95872affd7) is licensed under the Llama 3.2 Community License, Copyright © Meta Platforms, Inc. All Rights Reserved. Llama 3.2 Community License · Acceptable Use Policy

This site build redistributes @huggingface/transformers 3.8.1 and @mlc-ai/web-llm 0.2.85. Both are Apache-2.0, and neither package includes a NOTICE file. The model weights are not in this build; Load fetches them in the browser. Transformers.js license · WebLLM license onnxruntime-web 1.30.0, including the WebAssembly files served from /search-ort/, matches the Microsoft ONNX Runtime v1.30.0 tag. That tag’s LICENSE is the MIT License, Copyright (c) Microsoft Corporation. The installed npm package does not include that file; this site serves the tagged text. ONNX Runtime license

Who it’s for
Professionals, freelancers, landlords, and students polishing a draft email, notice, or paragraph for clarity, brevity, or formality without sending private text to a cloud editor.
One use
Pasting up to 6,000 characters into the source box, picking Clearer, Shorter, or More formal, and comparing the suggested draft side by side against your untouched original.
What you can produce
A separate, editable rewrite draft you can adjust, copy, or download as a local text file—automatically cleared whenever you edit the source text or switch styles so stale drafts never linger.
What stays on this device
Your source wording, style selection, and rewritten draft stay in this browser. Your original text is never overwritten, over-limit input is refused without silent cutting, and model weights download only after Start.

More from DocsStayLocal

DocsStayLocal also keeps other document tools and guided workflows in this browser.

Step-by-Step Instructions

How to Use Rewrite Text Locally

Rewrites up to 6,000 characters in Clearer, Shorter, or More formal style while leaving your original untouched. Editing the source or style clears the previous draft.

1

Press Start & load a chat model

Choose Gemma 4 E2B or Llama 3.2 1B in the setup dialog. Model files download only on confirmation when not cached.

2

Paste your original text

Enter up to 6,000 characters in the source box. Your original text remains untouched throughout.

3

Pick a style & click Suggest rewrite

Choose Clearer, Shorter, or More formal and run the suggestion locally. You can cancel generation mid-run.

4

Compare, edit, copy, or download

Check every name, date, and amount against your original box, edit the draft if needed, and copy or download it.

Practical Applications

Common Use Cases for Rewrite Text

Compare clearer, shorter, or more formal drafts side by side with your untouched original wording.

Tighten a verbose email or project update

Use Shorter or Clearer on a working draft while keeping your exact original text visible right beside it.

Make a tenant, vendor, or client notice more formal

Switch to More formal for business correspondence without sending confidential names or dollar amounts to a cloud writing assistant.

Polish rough voice-note text

Paste a transcript from Speech to Text and smooth out phrasing while verifying that numbers and dates stay intact.

Prevent mix-ups with automatic draft clearing

Editing your source text or changing the style immediately clears the previous output so an outdated draft is never mistaken for current.

Operational Considerations

Original text is never overwritten

Suggested wording appears in its own output box. Nothing replaces your source text unless you copy it yourself.

6,000-character limit & fact check

Inputs above 6,000 characters are refused without silent cutting, and compact models can still alter facts or tone—compare line by line before sending.

Local Browser Architecture

Why Browser-Local Rewrite Text Protection Matters

Model files download only after you press Start, and only when this browser does not already have them. Your text, audio, and results stay in this browser. 0 document-derived outbound bytes in tested scenarios. Loading the site and a model is normal web traffic.

0 document-derived outbound bytes in tested scenarios
Browser Session Execution
Normal web loading required
FAQ & Guidance

Rewrite Text Frequently Asked Questions

Common questions about using Rewrite Text in your browser session.

No. Your source stays untouched in its own box, and the suggested rewrite is placed in a separate editable draft box.
Privacy & Architecture Design

Engineered for Browser-Local Processing

Cloud-based document services may require document upload to remote infrastructure. DocsStayLocal is designed so document processing occurs locally in your browser.

Local Browser Processing

Document compilation, layout arrangement, and field extraction execute locally in your web browser session.

0 Document-Derived Outbound Bytes

In qualification testing, document handling workflows generated 0 document-derived outbound bytes in tested scenarios.

Normal Web Loading

The site and application assets require a normal web connection to load. Document processing is designed to remain in your browser. This is not an offline guarantee, and it does not mean the browser makes no network requests.

Separated Network Traffic

Static web application assets load normally via standard HTTP, while document payload data remains strictly local.

Architecture Comparison: Cloud-Based Services vs. DocsStayLocal

CharacteristicCloud-Based Document ServicesDocsStayLocal (Local Browser Design)
Document Processing Location
May require document upload to remote servers
Processed locally in your browser
Document Data Egress
Document payload sent over network
0 document-derived outbound bytes in tested scenarios
Server Document Storage
May store files in cloud infrastructure
No server document storage required
Queueing & Rendering
Depends on remote network and server load
Direct client-side processing without server queueing
Application loading
Requires continuous network connection to server
Site and application assets require normal web loading. Document processing is designed to stay in the browser.

Usage telemetry and platform logs

Document processing is designed to stay in your browser. DocsStayLocal also sends limited first-party usage telemetry about which tools and pages are used. It does not intentionally include document contents, filenames, OCR text, or extracted document values. Those usage records are kept for about 30 days. Ordinary hosting logs can include an IP address and User-Agent, and those logs are kept for 30 days. The application does not intentionally log request bodies. No long-term analytics log export is configured.