Get the newsletter
Microsoft · AI / ML · Filed Jul 24, 2026 · USPTO published Nov 19, 2026 · This week's release

Microsoft Patents a Paste Command That Reformats Content for Whatever App You're In

Microsoft's new patent application describes a second kind of paste: copy a messy web table, hit one shortcut, and an AI rebuilds it in the format the other app expects. The AI doesn't retype your data. It writes a small program to do the job.

A prompt appears during pasting, allowing someone to reformat a copied table of student grades into a new layout. Drawing from patent filing US 2026/0368199 A1.
A prompt appears during pasting, allowing someone to reformat a copied table of student grades into a new layout.All 13 drawings ↓
Publication number
US 2026/0368199 A1(US20260368199A1)
Applicant
Microsoft Technology Licensing, LLC
Filed · Published
Jul 24, 2026 · Nov 19, 2026
Inventors
Jeevana Priya INALA, Gonzalo A. RAMOS, Nathalie M. RICHE, Chenglong WANG, Priyan VAITHILINGAM
Status when we published
Waiting for an examiner
Document
20 claims
US classification
707/602
Parent application
Continuation of 18/948,806 (filed Nov 15, 2024)(18948806)

What Microsoft's reformat-on-paste tool actually does

Ever copied a table from a website, pasted it into a spreadsheet, and watched it collapse into a pile of mismatched text? Microsoft's new patent application describes a fix: a paste command that works out where the content came from and where it is going, then reshapes it to fit.

Here's how you'd use it. You copy as usual. When you paste with a special shortcut (the filing gives ctrl-shift-v as an example), a small box can pop up where you may type a short note in plain language, like "bold the highest values in each row." Or you can skip the note entirely. The tool looks at both apps and handles the conversion.

One detail stands out. The AI does not rewrite your data directly. It writes a small program that does the reshaping, which the filing says lowers the risk of the AI making up numbers and lets it handle big tables.

From the filing · CLAIM 1
… at least in part by accessing a generative language model, generating transformation instructions for transforming the captured content based at least upon the source contextual data and the destination contextual data; …

Translation: An AI model figures out how to reformat your copied text based on where it came from and where it is going.

How the tool writes code to reshape your data

The tool hooks into the operating system's clipboard (the holding area where copied items wait). When you copy, it saves the content plus context about the source app, such as the app name, icon and browser tab name. It also keeps extra detail like the original HTML tags, because it cannot know yet where you will paste.

When you paste, it captures the same kind of context from the destination app. A generative language model (an AI that writes text and code) then produces transformation instructions from both contexts plus any short note you typed. In claim 20, those instructions are generated code that is compiled before it runs. The filing names Python, C# and TypeScript as options.

The code then works in stages:

  • It pulls the raw data from the clipboard (text, rich text, HTML or an image).
  • It parses that into structured data, a simpler form such as a grid of rows and columns, with the format chosen based on what was copied.
  • It applies changes, like adding or removing columns, adding conditional formatting, or converting to the destination's format.
  • It pastes the result into the destination app.

The filing also describes storing everything in a context object, synced across your devices, so you can paste again with new instructions and overwrite the earlier result.

From the filing · THE ABSTRACT
… detect a capture request to capture content from a source application, in response to the capture request, capture the content and source context associated with the source application, detect a paste request to paste captured content to a destination application, in response to the paste request, capture destination context associated with the destination application, …

Translation: The system watches when you copy something and when you paste it so it knows the app context.

Why this could end the copy-paste cleanup chore

If you have ever moved a table from a web page into a spreadsheet and watched the layout fall apart, this is the chore the filing targets. Its examples include pasting a web table into a LaTeX editor as a finished LaTeX table, pasting spreadsheet data into a Python notebook along with the code to load it, and flipping a Markdown table from long to wide format with one typed sentence.

The pitch is fewer detours. Instead of exporting files, hunting for online converters or retyping, you stay in the app you're working in. The filing describes hooking into the operating system's clipboard and syncing across your devices, though it names no product. Running generated code also means large tables that would overflow the AI's input limit can still go through.

That makes this Microsoft's 64th filing we've tracked in Enterprise AI since May, a group that includes next work move suggestions and smarter job list gap-filling.

Source: US 2026/0368199 A1 at the USPTO (PDF). Full patent text and figures are in the official publication.

Get our take in your Top Stories

Liked this breakdown? Add Patentlyze as a preferred source on Google, and our plain-English take shows up more often in your Top Stories the next time Microsoft patent news breaks.

There are more where this came from

We read every patent application Big Tech publishes and send you the ones worth knowing. Plain English, free, every week.

The drawings · 13 sheets

13 drawing sheets from US 2026/0368199 A1 · click any drawing to enlarge

Connecting a device to cloud servers to reformat data, drawing sheet 1 from US 2026/0368199 A1
Sheet 1 Connecting a device to cloud servers to reformat data
Reading copied data and writing code to reshape it, drawing sheet 2 from US 2026/0368199 A1
Sheet 2 Reading copied data and writing code to reshape it
Pasting reformatted data directly into a target app, drawing sheet 3 from US 2026/0368199 A1
Sheet 3 Pasting reformatted data directly into a target app
Selecting and copying a table of data inside a spreadsheet, drawing sheet 4 from US 2026/0368199 A1
Sheet 4 Selecting and copying a table of data inside a spreadsheet
Asking for user instructions before pasting into code, drawing sheet 5 from US 2026/0368199 A1
Sheet 5 Asking for user instructions before pasting into code
Converting copied spreadsheet text into ready-to-run data science code, drawing sheet 6 from US 2026/0368199 A1
Sheet 6 Converting copied spreadsheet text into ready-to-run data science code
Asking the paste tool to pivot a table layout automatically, drawing sheet 7 from US 2026/0368199 A1
Sheet 7 Asking the paste tool to pivot a table layout automatically
Generated script that extracts structured rows from copied table data, drawing sheet 8 from US 2026/0368199 A1
Sheet 8 Generated script that extracts structured rows from copied table data
Show the other 5 sheets
Extracted table data turned into code for reformatting, drawing sheet 9 from US 2026/0368199 A1
Sheet 9 Extracted table data turned into code for reformatting
Reformatted table code pasted directly into a new document, drawing sheet 10 from US 2026/0368199 A1
Sheet 10 Reformatted table code pasted directly into a new document
Software parts that read copied text and rewrite it, drawing sheet 11 from US 2026/0368199 A1
Sheet 11 Software parts that read copied text and rewrite it
Hardware inside a mobile phone running the smart paste tool, drawing sheet 12 from US 2026/0368199 A1
Sheet 12 Hardware inside a mobile phone running the smart paste tool
Cloud servers converting copied content across different devices, drawing sheet 13 from US 2026/0368199 A1
Sheet 13 Cloud servers converting copied content across different devices
Patent filing page

Reader comments

No comments yet

Start the discussion

Real name or a handle, either is fine. Comments are read by a person before they appear, so allow a little time. Keep it about the filing.