Export - import iPhone keyboard shortcuts as text file? On an iPhone, if you go to Settings &gt; General &gt; Keyboard &gt; Shortcuts you can define text shortcuts that expand into longer words.

Is it possible to export this list of shortcuts in a single text file?
Is it possible to import a text file to be used as shortcuts?

This could be useful to configure the same shortcuts on an iPhone and a Mac, on 2 iPhones, to make a text backup, to make quick edits on a textfile…
From dastrobu: 

There is an unofficial command line tool, which does exactly what you want, its called shortcuts. You can install it via homebrew

brew install rodionovd/taps/shortcuts


You can list your current replacements via

shortcuts read


You can import new ones via:

shortcuts import &lt;input.plist&gt;


There are also these commands:

shortcuts create &lt;shortcut&gt; &lt;new phrase&gt;
shortcuts update &lt;shortcut&gt; &lt;phrase&gt;
shortcuts delete &lt;shortcut&gt;


Source: How to export Text replacements from the Keyboard System Preference from shell?