Skip to Content
Platform.Ontology

Writer API

Writes new text from a prompt on the device.

Works without askingOn-device AIBuilt in AIWeb browsersWhile you use it

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

BrowserStatusFirst versionNote
ChromeBehind a flag137Developer origin trial
EdgeBehind a flag137Flag
FirefoxNot supportedNot availableNone
SafariNot supportedNot availableNone
Safari on iPhoneNot supportedNot availableNone
Chrome on AndroidNot supportedNot availableNone
Samsung InternetNot supportedNot availableNone

How a site asks for it

APIWriter.create({tone,format,length,sharedContext}); w.write(prompt)
Permissions policywriter
How access is grantedorigin-trial
What the user seesJoint origin trial with Rewriter; flag chrome://flags/#writer-api
Needs a secure context (HTTPS)Yes
Needs a user gestureYes
How long it lastsPer origin
How to take it backSite settings
Inside an iframeSame as top level; cross-origin iframes need a permissions policy where listed

Typical flow

  1. Call the API
  2. Browser applies its access rules
  3. 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

FieldTypeUnitRangePrecision
toneenumNoneformal, neutral, casualNot listed
formatenumNonemarkdown or plain-textNot listed
lengthenumNoneshort, medium, longNot 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

TypeExampleApps
messagingA web email app drafts a reply when you type three words of what to say.Gmail
shoppingA seller tool drafts a product listing from a few bullet points.Etsy
socialA post box drafts a caption from a short idea.None named
productivityA web editor writes a first outline of a doc.Google Docs
educationA study site drafts practice questions from your notes.None named
enterpriseA support tool drafts a first reply to a customer, ready for the agent to edit.None named
gamesA game tool writes character backstories from a few traits for a story game.None named
accessibilityA 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

Good uses and abuse

Legitimate uses

  • Compose helpers

Known abuse

  • None notable

Scores

ScoreValueMeaning
Sensitivity1 of 5How revealing the data is
Utility3 of 5How useful it is to honest apps
Friction3 of 5How much the user has to do
Fingerprint bitsNot ratedRough identifying entropy, when known

History

  • 2025, Chrome 137: Developer origin trial starts (137 to 148)

Sources

How well checked: Based on official documentation.

On this page