Pourtype

Type the clipboard as keystrokes on a Mac: 4 ways

By Leonard Chow, developer of Pourtype · Updated · Pourtype's typing was tested on macOS 27.0.1 with a paste-blocked web form in Safari.
I make Pourtype. This page lists every method, including free ones.

Short answer

The free routes are an AppleScript that sends keystroke through System Events, or a short Hammerspoon script using hs.eventtap.keyStrokes. Keyboard Maestro does it with a paid macro, and menu-bar apps such as Pourtype do it with a shortcut. All of them need Accessibility access, and they differ mainly in non-English text, emoji and speed.

What "typing the clipboard" means

Normal paste hands the clipboard contents straight to a field. Some fields refuse that. Typing the clipboard instead sends a series of key events, one per character, as if the keys were pressed. The field sees typing, not a paste.

Any tool that does this has to be allowed to control your Mac. Apple's automation guide says that by default accessibility control of apps is disabled, and that the user must enable it manually for each app, including script apps. See also Website won't let you paste?.

AppleScript (free, built in)

The System Events app has a keystroke command, which you can call from Script Editor, a Shortcuts action or Terminal's osascript. You grant Accessibility access to whichever app runs it.

Limits: you write the script and feed it the text. How keystroke handles non-English text is not covered here: test it with your own text first.

Keyboard Maestro (paid macro app)

Keyboard Maestro has an Insert Text by Typing action. Its own wiki says it "is slow for large amounts of text and can't type exotic characters like Emoji" and that it fits text "up to say 30 or 40 characters." It is a good fit for short, plain snippets you type often.

Hammerspoon (free, Lua)

Hammerspoon exposes hs.eventtap.keyStrokes(text[, application]), which "generates and emits keystroke events for the supplied text." Its docs point to hs.eventtap.keyStroke() for single keystrokes with modifiers such as Command-V. You bind it to a hotkey in your Lua config. The page does not state limits for non-ASCII text, so test it yourself.

Menu-bar apps

Pourtype: a macOS 14+ menu-bar app by Leonard Chow. Command-Shift-V types the clipboard into the focused field as real keystrokes. The screen is frosted except the target window, the keyboard and mouse are held, Esc stops it at once, and it stops if another app comes to the front. Keystrokes go only to the target app. Hold Up/Down for speed (3 to 150 characters per second) and Left/Right for rhythm from steady to random. It can type Chinese, Japanese, Korean and emoji. Shortcuts can be changed. It is local and collects no data. US$2.99 one-time on the Mac App Store; it is in App Review and not on sale yet. Pourtype is source-available under PolyForm Noncommercial 1.0.0, not open source. source on GitHub.

Other apps, each described by its own page (read 2026-10-06):

We have not tested these three, so we make no claim about what they can or cannot type.

Non-English text, emoji and speed: what to check

Before you rely on any of them, type a test string with your own characters into a harmless field: accented letters, Chinese or Japanese text, an emoji, and a few hundred characters.

Keyboard Maestro's wiki states it is slow for large text and cannot type emoji. Pourtype's speed is adjustable from 3 to 150 characters per second. Typing while a Japanese or Chinese input method is active has not been tested for Pourtype.

Password fields and Secure Input

macOS protects password entry with Secure Input. Apple's Technical Note TN2150 explains that standard password controls (such as Cocoa's NSSecureTextField) secure keyboard events only when necessary, and that custom password fields have to turn it on and off themselves.

In password fields, Pourtype falls back to plain typing without holding input; Control-Option-Command-Period stops it. For the other tools, test with a throwaway password field first.

Comparison

MethodWorks whereNeedsLimits
AppleScript keystrokeThe focused fieldAccessibility access; a scriptNon-English text: test it first
Keyboard MaestroThe focused fieldPaid appSlow for large text; no emoji (its wiki)
HammerspoonThe focused fieldFree app, Lua codeYou write the script
PourtypeThe focused field (tested: a paste-blocked web form in Safari); password fields with plain typingmacOS 14+; Accessibility and Screen Recording permissionsNot on sale yet
KeyType, TypeClipboard, TypeAroundSee each pageSee each pageNot tested here

Questions

Which method is free?

AppleScript is built in, and Hammerspoon is free. Both need you to write a short script.

Can these type emoji or Chinese?

Pourtype can type Chinese, Japanese, Korean and emoji. Keyboard Maestro's wiki says its typing action cannot type emoji. For AppleScript and Hammerspoon, test with your own text first.

Why do they need Accessibility access?

Sending key events to other apps is a form of controlling the Mac. Apple's guide says accessibility control is disabled by default and must be enabled per app.

Can I stop typing in the middle?

With Pourtype, Esc stops it at once; in password fields, Control-Option-Command-Period.

Does Pourtype send my text anywhere?

No. It runs locally, makes no network requests and collects no data.

Related guides

Sources