How to Translate Text Anywhere on Mac

Translate selected text in any app, a whole webpage, or a quick phrase you type. Three ways to do it on a Mac: the built-in Translate menu, Safari, and the free Google Translate extension for Raycast.

UPDATED

You're reading an email from a supplier in Lyon, a GitHub issue in Japanese, or a recipe that's only in Spanish. Copying it into a browser tab, waiting, and copying it back gets old fast.

The short answer: select the text, Control-click it and choose Translate to use what's built into macOS. To translate the selection in any app with one keystroke, install the free Google Translate extension for Raycast and give Instant Translate View a hotkey. For whole webpages, click Translate in Safari's address bar.

Here's how each one works, and when to reach for it.

MethodBest forShortcutWorks offline
Google Translate for RaycastSelected text in any app, typing a quick phrase, several languages at onceAny hotkey you likeNo
Control-click → TranslateThe odd sentence, replacing text in a documentNone by defaultYes, with downloaded languages
Safari's Translate buttonReading a whole webpageNoneNo

Translate text with Raycast

Google Translate: translate any selection with a hotkeyInstall

Google Translate is a free extension with more than 500,000 installs. It brings Google's translation into Raycast. It reads whatever text you have selected in the frontmost app, so you don't even need to copy it first. It works on Windows too.

Translate a phrase into several languages at once, with a romanized row for Japanese.
Translate a phrase into several languages at once, with a romanized row for Japanese.

Open Raycast and pick the command that fits:

  • Translate: type or paste text, or open it with text selected, and get the translation in a list. Copy it with ↵, play it out loud with ⌘ T, or open it on the Google Translate website with ⌥ ↵.
  • Translate Form: a bigger text area with source and target dropdowns, for paragraphs. It handles up to 5,000 characters per translation.
  • Quick Translate: grabs your current selection and opens it straight in the results view.
  • Instant Translate View: translates the selection and shows the result in a HUD at the bottom of your screen, without opening a window.
  • Instant Translate Copy: translates the selection and copies the result to your clipboard.
  • Instant Translate Paste: translates the selection and pastes the result over it. Write a reply in English, select it, and it's in Spanish.
Pro tip: give Instant Translate View a hotkey in Raycast's settings, like ⌥ ⌘ T. Select a sentence anywhere, press it, and the translation floats up. Longer translations stay on screen longer, up to about 15 seconds.

A few details that make it nicer to use every day:

  • One hotkey for both directions. The instant commands translate into your Primary Language. If the selected text is already in that language, they switch to your Secondary Language instead. Set English as primary and German as secondary, and the same hotkey turns German into English and English into German.
  • A built-in sanity check. When Translate has a single target language, it also shows the translation translated back. If the round trip comes out close to what you wrote, you can trust it.
  • Language sets. Use the dropdown in the search bar and choose Manage language sets… to save combinations like Auto-Detect → French, German, Japanese. Every target gets its own row, and languages like Japanese or Chinese get an extra row with the pronunciation.
  • Paste by default. If you mostly translate to paste, set Default Action to Paste to App in the extension's preferences, and ↵ pastes instead of copies.

Prefer DeepL? Use Deepcast

If you like DeepL's translations better, Deepcast does the same job with DeepL. It needs a DeepL API key, which you get by signing up for a DeepL API account. Besides its Translate command, it has one command per language, like Translate into German or Translate into Japanese, which translate your selected text (or your clipboard, if nothing is selected) straight away. Give your favorite one a hotkey. You can also set a Default Formality, so languages that support it come out more or less formal, which matters a lot for German or Japanese emails.

On Raycast Pro, there's also a built-in Translate command. You don't even have to open it: type hello in german into Raycast and the translation shows up right in the results.

Hotkeys and aliases work on almost any Raycast command, including this one. This three-minute video shows how to set them up:

Translate selected text

macOS has translation built into many apps, including Safari, Mail, Notes, Pages and some third-party apps.

  1. Select the text you want to translate.
  2. Control-click it (or right-click) and choose Translate "…".
  3. Pick the source and target language in the pop-up menus.
  4. Click Copy Translation, or the play button to hear it.

In a document you can edit, there's also Replace with Translation, which swaps the original text for the translated version.

Want it to work without an internet connection? Go to System Settings → General → Language & Region, click Translation Languages, and download the languages you need. Turn on On-Device Mode to keep translations on your Mac even when you're online. Apple notes that offline translations may be a little less accurate.

The catch: it lives in a right-click menu, has no keyboard shortcut out of the box, and only shows up in apps that support it.

Translate a webpage

For a whole page, Safari is the easiest option.

  1. Open the page in Safari.
  2. If Safari can translate it, a Translate button appears in the Smart Search field. Click it.
  3. Choose the language to translate into.

Missing your language in that menu? Add it to your preferred languages in System Settings → General → Language & Region. Safari always translates online, even if you've downloaded languages for offline use.

Frequently Asked Questions

How do I translate selected text on a Mac?

Select the text, Control-click it and choose Translate. To do it from the keyboard in any app, install the free Google Translate extension for Raycast and give its Instant Translate View command a hotkey.

Is there a keyboard shortcut to translate on Mac?

macOS doesn't give its Translate menu a keyboard shortcut out of the box. In Raycast you can assign any hotkey to a translate command, for example Instant Translate View or Instant Translate Paste from the Google Translate extension.

Can I translate text on my Mac offline?

Yes, with the built-in Translate feature. Download languages in System Settings → General → Language & Region → Translation Languages and turn on On-Device Mode. Safari page translation and Siri always translate online.

How do I translate a whole webpage in Safari?

Open the page and click the Translate button in the Smart Search field, then pick a language. The button only shows up when Safari can translate that page.

Can I use DeepL instead of Google Translate?

Yes. The free Deepcast extension for Raycast translates with DeepL. You need a DeepL API key, which you get by signing up for a DeepL API account, and it has a command for each target language, like Translate into German.

Translate selected text with one hotkey. Try Raycast with the free Google Translate extension.

Download