Skip to Content
Platform.Ontology

Rewriter API

Rewrites text in a different tone or length on the device.

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

In one line

Can rewrite text you typed in a new tone or length, on your device, in testing

Rewrites text in a different tone or length on the device.

Edits what the person typed locally.

What it can and can't do

What the user does: You tap a button like Make shorter or Make friendlier on a site in the trial

It can

  • Change the tone or length of text you typed
  • Work on your device without a server
  • Offer a few versions to pick from

It cannot

  • Work for normal visitors yet, since it is an origin trial
  • Work in Firefox, Safari or on phones
  • Rewrite text you have not given the page
  • Run without the browser downloading the model

How it differs between platforms: Only in a Chrome and Edge testing trial today. Not in Firefox, Safari or on phones.

Browser support

BrowserStatusFirst versionNote
ChromeBehind a flag137Developer trial
EdgeBehind a flag137None
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

APIRewriter.create({tone,format,length}); r.rewrite(text)
Permissions policyrewriter
How access is grantedorigin-trial
What the user seesDeveloper origin trial (137 to 148); flag 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: Rewrites text in a different tone or length on the device.
Shape: object
How often: on demand

FieldTypeUnitRangePrecision
toneenumNoneas-is, more-formal, more-casualNot listed
lengthenumNoneas-is, shorter, longerNot listed

Technical limits

  • Not stable
  • Same hardware as Prompt API

The story

What it is

A page can rewrite your text in a new tone or length using an AI model on your device.

For you

You click a button like Make it shorter or Sound friendlier. The new text appears on screen. The work happens on your device, so your text is not sent out.

For makers

Makers add polish tools without cloud cost or privacy worries. It helps users write faster. It is in testing, so only some users can use it.

Where you see it

TypeExampleApps
messagingA web email app turns a blunt draft into a polite one with one click.Gmail
socialA post box offers a shorter version that fits a character limit.X
shoppingA seller tool rewrites a product description in a friendlier voice.Etsy
productivityA web editor shortens a long paragraph for a slide.Google Docs
enterpriseA customer support tool rewrites a rough reply into a clear message, with no data leaving the device.None named
educationA study site rewrites a hard passage in simpler words.None named
accessibilityA page rewrites jargon into plain language on request.None named

Risks

  • Early testing only
  • May change meaning

What the platform says

Good uses and abuse

Legitimate uses

  • Tone fixes

Known abuse

  • None

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 trial

Sources

How well checked: Based on official documentation.

On this page