Writer API
Writes new text from a prompt on the device.
In one line
Can draft new text from a prompt on your device, only in Chrome and Edge testing
Writes new text from a prompt on the device.
Generates drafts locally; the page controls tone and length.
What it can and can't do
What the user does: You type a short instruction and tap a button like Draft for me
It can
- Draft new text from a prompt you give the page
- Match a tone and length the page sets
- Keep the text on your device
It cannot
- Work for normal visitors yet, since it is an origin trial
- Work in Firefox, Safari or on phones
- Draft anything without a prompt from the page or you
- Send your prompt to a server for this feature
How it differs between platforms: Only a Chrome and Edge testing trial today. Not in Firefox, Safari or on phones.
Browser support
| Browser | Status | First version | Note |
|---|---|---|---|
| Chrome | Behind a flag | 137 | Developer origin trial |
| Edge | Behind a flag | 137 | Flag |
| Firefox | Not supported | Not available | None |
| Safari | Not supported | Not available | None |
| Safari on iPhone | Not supported | Not available | None |
| Chrome on Android | Not supported | Not available | None |
| Samsung Internet | Not supported | Not available | None |
How a site asks for it
| API | Writer.create({tone,format,length,sharedContext}); w.write(prompt) |
| Permissions policy | writer |
| How access is granted | origin-trial |
| What the user sees | Joint origin trial with Rewriter; flag chrome://flags/#writer-api |
| Needs a secure context (HTTPS) | Yes |
| Needs a user gesture | Yes |
| How long it lasts | Per origin |
| How to take it back | Site settings |
| Inside an iframe | Same as top level; cross-origin iframes need a permissions policy where listed |
Typical flow
- Call the API
- Browser applies its access rules
- Page receives the result
Data you get
What comes back: Writes new text from a prompt on the device.
Shape: object
How often: on demand
| Field | Type | Unit | Range | Precision |
|---|---|---|---|---|
tone | enum | None | formal, neutral, casual | Not listed |
format | enum | None | markdown or plain-text | Not listed |
length | enum | None | short, medium, long | Not listed |
Technical limits
- Not stable
- Gemini Nano hardware: Windows 10 or 11, macOS 13+, Linux, or ChromeOS Plus; 22 GB free disk; GPU over 4 GB VRAM or CPU with 16 GB RAM and 4 cores
The story
What it is
A page can write new text from your prompt using an AI model on your device.
For you
You type a short request, like a thank you note, and a draft appears. It runs on your device, so your request stays with you. Only some browsers have it for now.
For makers
Makers add drafting tools with no cloud costs and no data sharing. It helps users start writing faster. It is in testing, so it is not for everyone.
Where you see it
| Type | Example | Apps |
|---|---|---|
| messaging | A web email app drafts a reply when you type three words of what to say. | Gmail |
| shopping | A seller tool drafts a product listing from a few bullet points. | Etsy |
| social | A post box drafts a caption from a short idea. | None named |
| productivity | A web editor writes a first outline of a doc. | Google Docs |
| education | A study site drafts practice questions from your notes. | None named |
| enterprise | A support tool drafts a first reply to a customer, ready for the agent to edit. | None named |
| games | A game tool writes character backstories from a few traits for a story game. | None named |
| accessibility | A page helps a person write a message when typing is hard, by turning a few words into a full note. | None named |
Risks
- In testing
- May state wrong things
What the platform says
- Google Chrome: Writer API. Lets sites draft new text from a short prompt with Chrome's built in on device AI.
Good uses and abuse
Legitimate uses
- Compose helpers
Known abuse
- None notable
Scores
| Score | Value | Meaning |
|---|---|---|
| Sensitivity | 1 of 5 | How revealing the data is |
| Utility | 3 of 5 | How useful it is to honest apps |
| Friction | 3 of 5 | How much the user has to do |
| Fingerprint bits | Not rated | Rough identifying entropy, when known |
History
- 2025, Chrome 137: Developer origin trial starts (137 to 148)
Sources
How well checked: Based on official documentation.