Select text in any Mac app, press a shortcut, and get instant actions for it. Convert a timestamp, decode base64, open a JIRA ticket from its ID, or jump from a stack trace line to the file on GitHub, all without leaving the keyboard.
It's like PopClip, but you decide exactly what shows up, with no code or with a script in any language. And it's free and open source.
Requires macOS 15 or later · Also available as a direct download · Formerly Universal Tip · As featured on Hacker News, ifun.de, and AAPL Ch.
Why Tip · Examples · Installation · Usage · Make your own tips · Privacy · FAQ
- Works everywhere: Chrome, Terminal, Slack, your editor. If you can select text, Tip works there.
- No code needed: add built-in tips with one click, or build your own from a URL template like
https://www.google.com/search?q={input}. - Fully programmable when you want it: write a provider script in Ruby, Python, Bash, or any language to show exactly the actions you need.
- Private by design: Tip runs in Apple's App Sandbox, asks for no extra permissions, and only ever sees the text you select. More on privacy.
- Free and open source: MIT licensed. No subscription, no in-app purchase.
Some things people use Tip for:
- Convert a Unix timestamp like
1577733633to a readable date - Encode or decode base64
- Open a JIRA ticket, GitHub issue, or internal dashboard from an ID
- Search Google, GitHub code, or a dictionary for the selected text
- Open the file on GitHub from a stack trace line
- Count the characters in a piece of text
- Run any shell command on the selection, for example
curl -v {input}
Tip used in Sublime Text.
More examples: open a file from a stack trace, open a JIRA ticket
Tip used in Terminal.
Tip used in Terminal.
These examples come from the example provider script. Copy it, tweak it, and make it yours.
- Install Programmable Tooltip from the Mac App Store, or download
ProgrammableTooltip.appfrom the latest release (arm64for a Mac with Apple silicon,x64for a Mac with an Intel processor) and move it to/Applications. The App Store updates its version; the downloaded version updates itself. - Open the app and go to Settings > General. It walks you through setting up the shortcut and lets you test the tooltip.
That's it. Select 1577733633 and press your shortcut to try it.
Set up the shortcut by hand
- Open System Settings > Keyboard > Keyboard Shortcuts > Services.
- Expand the Text section and turn on Programmable Tooltip: Open the tooltip.
- Optionally, double-click the shortcut to change it (the default is
Cmd + 7).
- Select some text in any app.
- Press your shortcut. You can also right-click and choose Services > Programmable Tooltip: Open the tooltip.
- The tooltip appears next to your mouse pointer.
- Use the arrow keys to choose an item and press Enter, or click an item.
An item can do one of three things:
- Text: copy the text to the clipboard
- URL: open the URL
- Execute: run a command, which can show more items
Tips for choosing a shortcut
The default shortcut is Cmd + 7. If you change it, keep the Command key in it: shortcuts without the Command key may only work after you activate Tip once from the menu (application menu > Services > Programmable Tooltip: Open the tooltip).
I use Cmd + F3, because I haven't found an app that uses it. An extra mouse button and a 4-finger trackpad touch both send Cmd + F3, which I set up with Noo.app.
Go to Settings > Built-in Tips to add tips without writing a script:
- Built-in tips: ready-made tips you can add with one click
- Open URL: open a URL built from the selected text, for example
https://www.google.com/search?q={input} - Execute bash: run a shell command with the selected text, for example
curl -v {input}
Each tip has a match rule (every text, starts with, or contains), so it only shows up when it's relevant.
For full control, write a provider script in any language. Tip runs it with the selected text and shows the items it prints as JSON:
~/Library/Application\ Scripts/tanin.tip/provider.script [selected-text] --bundle-identifier [bundle-id-of-the-app-you-used-tip-in]
[
{"type": "text", "value": "Some text"},
{"type": "url", "label": "Go to JIRA", "value": "https://your-jira-url/JIRA-0001"}
]The easiest way to start is the button in Settings > Programmable Tips, which installs an example script for you. You can also copy one of the examples by hand:
curl -o ~/Library/Application\ Scripts/tanin.tip/provider.script --create-dirs https://raw.githubusercontent.com/tanin47/tip/main/scripts/provider.script
chmod 755 ~/Library/Application\ Scripts/tanin.tip/provider.scriptTip combines your script's items with the tips from the Built-in Tips tab. See PROVIDER_SCRIPT.md for the full JSON format.
Three macOS features let Tip keep a high degree of privacy: App Sandbox, NSServices, and NSUserUnixTask.
- Tip runs in the App Sandbox without asking for extra permissions. It can only read and write files in a few predefined directories and can only execute (not write) files in
~/Library/Application\ Scripts/tanin.tip. That's why the provider script lives there. - Tip is a macOS Service. It doesn't (and can't) see the content of other apps. When you trigger Tip, macOS gives it only the selected text.
- Tip uses NSUserUnixTask, which is meant for running user-supplied scripts and runs them outside the app's sandbox. That lets your provider script do much more.
Great design by Apple. It's a huge win for privacy.
Official releases send anonymous usage events (for example, "a tooltip was opened" and how many tips it showed) to Aptabase so we can see how the app is used. Builds from source send nothing unless built with an Aptabase app key. It never sends the selected text, your provider script's output, or anything that identifies you. The version from GitHub Releases also checks GitHub for updates. See the privacy policy for exactly what is sent.
I'm prone to repetitive strain injury and carpal tunnel syndrome. Tip cuts down on hand movement, which helps reduce the risk of injury. I'd love for you to try it!
Questions or ideas? Please don't hesitate to open a GitHub issue.
Yes. Programmable Tooltip is free and open source under the MIT license.
No. The Built-in Tips tab lets you add built-in tips, URL templates, and shell commands without writing a script. A provider script is only needed if you want full control.
Yes. Universal Tip was renamed to Programmable Tooltip.
Tip is a Thai word that means magical and divine. It comes from the word divya, which exists in both Pali and Sanskrit.
- Nerd-Spielzeug „Universal Tip“: Programmierbarer Tooltip für macOS (ifun.de)
- PopClipのように、macOSのツールチップにRubyでプログラム可能なアクションを表示することが出来る「Universal Tip」がリリース。 (AAPL Ch.)
- Show HN: A programmable tooltip on Mac OS (Hacker News)
Contributions are welcome! Please open an issue to discuss bigger changes first. See DEVELOP.md for how to build the app and run the tests.
Project layout:
mac-app/: the macOS app (Swift and SwiftUI)scripts/: example provider scriptsPROVIDER_SCRIPT.md: how to write a provider script



