Tool to transform text to all caps or lowercase

by Nelu   Last Updated January 12, 2018 19:12 PM

Is there a system-wide text manipulation app that enables you to select text and convert all letters to upper case or lower case, like a code text editor would?

Also, this is certainly wishful thinking but having a multi-cursor functionality across OSX (like Cmd + D in Sublime Text) would be amazing.

Tags : macos text

Answers 5

You can set this up as a right click service in automator as @Matthieu Riegler suggested.

Open up and create a “Service” with this workflow.

enter image description here

Pay close attention to the checkbox up top, “Output replaces selected test”. After the workflow is in place and saved, navigate to “System Preferences-->Keyboard.” On the left hand side select “Services”. On the right hand side you will see the Service you created, in the example its saved as “UpperCase”. Then give it a shortcut by pressing “Add Shortcut” and give it what you would like. Tested in TestWrangler and TextEdit.

Script used in Automator:

on run {input, parameters}
set upperCaseString to ¬
    (do shell script ("echo " & input & " | tr a-z A-Z;"))
return upperCaseString
end run
February 09, 2015 17:57 PM

I am on Mountain Lion 10.8.5 and for all editable text I can select and right click the text and choose Transformations -> Make Upper Case.

enter image description here

However, it seems this does not work in all applications. TextWrangler for example does not show this menu. All system applications (Finder, TextEdit, Mail, Calendar, etc…) all do.

Saaru Lindestøkke
Saaru Lindestøkke
February 09, 2015 20:05 PM

I had the same struggle so I create a one button app that solves this problem. It looks like this:

Screenshot of the Lowly Mac App

You'll find the Lowly app here :)

October 24, 2015 08:24 AM

Another tool that I use is PopClip

The application can transform selected text to UPPERCASE or even Proper Case or lowercase. There are several settings for search and other context relevant actions.

I am not affiliated with the developer.

PopClip Settings

PopClip context

This is a sample based editing this answer...

PopClip in context using selected text

October 27, 2015 15:07 PM

WordService will solve your problem. It's a free app from Devon Technologies that provides system-wide Services that do various text manipulations, including changing case.

January 12, 2018 18:56 PM

Related Questions

How can I globally disable 'Text Replacement'?

Updated December 06, 2017 08:12 AM

Autocomplete for MacOS

Updated August 12, 2017 11:12 AM

Can cupsfilter take input from stdin?

Updated February 27, 2017 20:12 PM

Text replacement not working in Office?

Updated June 07, 2017 14:12 PM