Select Page

The Ultimate Text Case Converter For Mac (Keyboard Maestro Macro)

by | 2 September 2025

How many times a day do you re-type something just to fix its case?

You write a brilliant headline, then realize it needs to be in Title Case. You paste a snippet of code, but it needs to be camelCase. You get an email in all caps and need to convert it to normal Sentence case before forwarding it.

It’s a small friction point, but it adds up. It breaks your flow and wastes clicks, keystrokes, and mental energy.

What if you could select any text, anywhere on your Mac, press one hotkey, and instantly choose from over 15 case styles? And what if it was smart enough to remember the last style you used, so you could apply it again with a single keystroke?

Today, I’m not just going to show you how to do it. I’m giving you the finished tool. After a surprising amount of trial-and-error, I’ve perfected a Keyboard Maestro macro that has fundamentally changed my text editing workflow. And now it can change yours.

Why This Isn’t Just Another Case Converter

You can find simple case-changing macros everywhere. Most of them just toggle between UPPER, lower, and Title case. That’s not good enough.

We need a power tool. This is a power tool.

A Swiss Army Knife for Every Style

This macro is packed with 15 different text case styles, making it perfect for any task.

  • For Writers & Marketers: Title Case (the smart way), Sentence case, and Start Case.
  • For Developers: camelCasePascalCasesnake_casekebab-case, and CONSTANT_CASE.
  • For Data & Utility: dot.casepath/caseTrain-Case, and even a Spaces (normalize) function to clean up messy text.

The Magic Trick: It Has a Memory

This is the killer feature.

The macro remembers the last case you selected. If you need to convert multiple, separate pieces of text to PascalCase, you only have to choose it once. For every subsequent selection, just trigger the macro and hit Enter.

It’s so fast it feels like magic. This is what transforms it from a simple utility into a true workflow accelerator.

It’s a True Transformer, Not Just a Formatter

Here’s what makes this macro exceptionally powerful. It doesn’t just change the case of words; it intelligently identifies word boundaries in almost any format.

This means you can convert text that’s already in a specific format directly into another one, without having to clean it up first.

For example, it can instantly transform a URL path into snake_case:

  • Select this: http://henryreith.co/case-test
  • Run the macro, choose snake_case
  • Get this: http_henryreith_co_case_test

It automatically handles hyphens, slashes, underscores, and even existing camelCase boundaries. This is the kind of intelligent processing that saves you countless manual edits.

How to Install It in Under 60 Seconds

Let’s get this set up on your Mac.

Step 1: Download the Macro File

First, you’ll need the macro itself.
(Here you’ll add the link to download the “Advanced Case Converter.kmmacros” file.)

[Download the Macro Here]

Step 2: Import into Keyboard Maestro

Make sure you have Keyboard Maestro installed. Then, simply double-click the .kmmacros file you just downloaded. Keyboard Maestro will open and ask if you want to import it into a new group called “Text Case Tools.” Click Import.

Step 3: Set Your Hotkey

I’ve pre-configured the hotkey to ⌃+⌥+R (Control + Option + R), but you can change it to whatever you like. Just select the macro in Keyboard Maestro and click on the trigger box to record your own shortcut.

That’s it! You’re ready to go.

Built to Be Bulletproof: The Story Behind the Macro

I have to be honest—building this was a journey. And that journey is why this macro is so reliable. What started as a simple idea (“I want more case options”) turned into a fascinating debugging puzzle that forced me to solve common automation pitfalls.

The real challenge was getting all the pieces to talk to each other reliably across any application:

  1. The Focus Problem: My first attempts used an AppleScript dialog, but it would steal focus and deselect the text before it could be pasted back! Solution: We switched to Keyboard Maestro’s native “Prompt With List” action, which is far more stable.
  2. The Clipboard Race: Sometimes, the macro would run so fast that it tried to read the clipboard before the app had finished copying the text. Solution: We added a small, crucial pause to ensure the copy command always finishes first.
  3. The App-Specific Quirks: I discovered that some apps (like Microsoft Word) don’t work with Keyboard Maestro’s fancy %FrontWindowSelection% token. Solution: We reverted to the old-school—but universally compatible—method of simulating a Command-C keystroke.

It took six major versions to get it right, but that iterative process makes the final result a tool that is battle-tested and incredibly reliable, no matter where you use it.

It’s Your Turn to Stop Re-Typing

You now have a professional-grade text tool at your fingertips. No more manual corrections, no more tedious re-typing. Just select, trigger, and transform.

Ready to supercharge your workflow? Download the macro now and take it for a spin.

I’d love to hear what you think in the comments. What’s your most-used case conversion, and how much time do you think this will save you?

<a href="https://henryreith.co/author/henry/" target="_self">Henry Reith</a>

Henry Reith

CEO at Oh Crap. Creating & implementing processes to market businesses in less than 15 mins a day. 'marketing is a commodity, process is priceless'

Related Posts

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *