An elegant and powerful text editor that is easy to use

Smultron is a great text editor

Use Smultron 9 to create or edit any text document. Everything from a web page, a note or a script to any single piece of text or code.

Since Smultron 9 is easy to use, quick and uses powerful technologies like auto save, it helps you to do what you want to do without getting in your way. So you can save time and get things done. Use Smultron 9 for all your text needs.

Download and price

DownloadDownload Smultron 9

Buy for $10 in Smultron Store >

Smultron Store

or in Mac App Store >

Mac App Store

Compare versions


New in Smultron 9

The new Smultron 9 is refined and the best ever Smultron


I just bought a license for Smultron 8, can I upgrade to version 9?
A license bought on or after August 1, 2016 is eligible for a free upgrade. Contact us with proof of purchase and we’ll send you a new license. If you have bought Smultron 8 before that date you need to buy Smultron 9 in Mac App Store or get an upgrade license.
Which languages is it available in?
English, Arabic, Chinese (Simplified), Chinese (Traditional), Danish, Dutch, Finnish, French, German, Greek, Hebrew, Italian, Japanese, Korean, Norwegian, Portuguese, Russian, Spanish and Swedish
Is version 9 a paid upgrade?
Yes, if you have an earlier version you either need to get an upgrade license in Smultron Store or buy the app from Mac App Store.
Is there a demo version?
Download the app and you’ll have all the functionality except that you can’t save a document until you buy a license.
How do I buy a license?
You can either buy it from Mac App Store or buy it from the Smultron Store (if you download the app you can also buy it from within the app by choosing Purchase... from the Smultron 9 menu to use the secure built-in store).
I cannot update my app bought from Smultron Store, what is wrong?
Because of security measures in macOS you have to move the app at least once before you can update it. So if for instance you downloaded the app to the Downloads folder on your Mac, quit the app and then just move it to the /Applications folder and then you can update it.
How do I register the license?
Choose License... from the Smultron 9 menu and input the exact values you received in the confirmation mail.
How do I reopen the open documents when Smultron starts?
Smultron uses the system setting to decide if it should reopen the documents or not when it starts. So if you uncheck the “Close windows when quitting an app“ checkbox in System Preferences - General then the documents will reopen automatically. If you only want Smultron to remember its open documents use this command in Terminal:
defaults write com.peterborgapps.Smultron9 NSQuitAlwaysKeepsWindows -bool true
By default Smultron opens documents in tabs. You can change this in Preferences - General. If you turn off the setting that it should automatically open documents in tabs, Smultron will use the system setting that can be changed in System Preferences - Dock. If you want to merge all open windows or move a tab to its own window you can do it in the Window menu.
Is VAT included in the EU price?
Yes. And if you are registered as a company in EU and have a valid VAT ID you can buy it without VAT on the Smultron Store.
Can I change the file extension a particular syntax uses?
Yes, you can do that in Preferences - Advanced. Choose the syntax in the menu and then add or change the extension in the text field next to the menu (a space between each extension and no dots).
How do I assign a keyboard shortcut any menu item?
You do this in System Preferences - Keyboard - Shortcuts. Choose App Shortcuts and then press + and then choose Smultron 9 and write the exact name of the snippet or command.
How do I change a keyboard shortcut?
You do this in System Preferences - Keyboard - Shortcuts. Choose App Shortcuts and then press + and then choose Smultron 9 and write the exact name of the menu item and choose a new shortcut.
Why does it insert an extra space when pasting some text?
That is a standard system feature which is there to help you with pasting text. But you can turn it off by deselecting Smart Copy/Paste in the Edit menu, under Substitutions
Why does it replace some of the text I write with another character?
That is a standard system feature which is there to help you write those characters. But you can turn it off if you want in the Edit menu, under Substitutions just deselect Text Replacement. What exactly is replaced is decided by System Preferences - Keyboard - Text.
How can I open “hidden” files?
When you are in the standard open dialog just press Command and Shift and a dot.
How do I change the language Smultron uses?
The language used is determined by your system setting in System Preferences - Language & Region. If you only want to change the language that Smultron uses to e.g. English you can do this by writing this command in Terminal:
defaults write com.peterborgapps.Smultron9 AppleLanguages '(en)'
Is there a command line utility?
There isn’t a command line utility available for Smultron 9 but you can use standard commands to do the same thing (and more). Use e.g.:
open -a /Applications/Smultron\ /path/to/file
open -a /Applications/Smultron\ /open/all/in/this/folder/*
Which code languages have syntax coloring?
ActionScript, Active4D, Ada, AMPL, Apache, AppleScript, Arduino, Assembler x86, Assembler MIPS, Assembler PPC, ASP - JavaScript, ASP - VB, ASP.NET - C#, ASP.NET - VB, AWK, Batch, C, C++, C#, Ceylon, Clojure, Cobol, CoffeeScript, ColdFusion, Csound, CSS, CUDA, D, Dart, Diff, Dylan, Eiffel, Elm, Erlang, eZ Publish, F#, Final Cut Pro XML, Fortran, Fountain, FreeFem++, GEDCOM, GIFT, GNU Assembler, Go, Groovy, Hack, Haskell, Header, HTML, IDL, Java, JavaFX, JavaScript, JSON, JSP, Julia, Kotlin, LaTeX, LESS, Lilypond, Lisp, Logtalk, LSL, Lua, Make, Markdown, MathProg, Matlab, Metal, MetaPost, MEL, Metaslang, Multi User Forth, MySQL, Nemerle, NEURON, nginx, Nim, Notation3, Objective Caml, Objective-C, Ox, PARI/GP, Pascal, PDF, Perl, PHP, Plist, PostScript, PowerShell, Processing, Prolog, Python, R/S-PLUS, RHTML, Ruby, Rust, SAS, Sass/SCSS, Scala, Scheme, Servoy JavaScript, SGML, Shell, Smalltalk, SML, SQL, Stata, Strings, Stylus, SuperCollider, SVG, Swift, Tcl/Tk, TorqueScript, Turtle, Udo, UnityScript, VB, Verilog, VHDL, WebAssembly, Xcode config, XLIFF, XML, XQuery, YAML, Zimbu


Mac App Store Smultron Store
Price US$ 10 US$ 10
Upgrade price US$ 7 (from a previously bought version of Smultron)
Site license US$ 100
Buy with Apple-ID
Buy without Apple-ID
Audited by Apple
iCloud Drive
EULA Apple Peter Borg Apps

Some Features

Smultron has full support for storing your documents in iCloud so you can access them on all your computers.
With the Documents toolbar icon you can show all open documents in a pop over window and you can in it reorder the documents. If you want to have it shown all the time (and resize it) you can click and hold anywhere in the background of the pop over and drag it.
With the Compare feature in the Tools menu you can compare two open documents, that has been saved at least once. The changes will appear both color coded and with a symbol at the beginning of the change: green and a “+” for added lines, red and a “-” for deleted lines, yellow and a “•” for changed lines.
Text folding
If you temporarily don’t want to see a part of the document you can select it and choose Fold in the Text menu. This replaces the selected text with a symbol (but only on the screen, the document still has all your text). Choose Unfold after placing the cursor next to the symbol to see the whole text again.
View in full screen
You can edit the document in full screen by choosing “Enter Full Screen” in the View menu (nothing else will be visible but you can show the menu bar by moving your mouse to the top of the screen).
You can see a list of all the functions in your document in the Tools menu or with the toolbar item and go directly to that function.
Snippets are pieces of text that you use often or want easy access to. Include a %%s in the text and it will be replaced by the current selection. Include a %%c and the cursor will be placed at that position after the snippet has been inserted.
Close tag
This tries to find the correct tag to close by calculating the number of tags that has been closed and opened so it will find the last tag that hasn’t been closed. Note that this feature only works with tags surrounded by < and >.
With this you can preview the content of the current document. You can choose to open it in Smultron or in the app that has been chosen in the system (using Info in Finder) for that kind of document.
You can run commands from within Smultron if you e.g. want to compile some code or validate an HTML document. The result from the command is shown or inserted into the text if inline has been chosen. There are some special code that you can include in your command: %%p to get the full path of the current document, %%d for the directory, %%s outputs the selected text to a temporary file and replaces that code with the path, %%t is replaced by the path to a writeable temporary directory.
Comment or uncomment
Inserts a single-line comment character(s) e.g. // for a PHP-document at the beginning of the line or removes any existing comment. The menu item is only available if the language uses a single-line comment.
Invisible characters
Shows a symbol for characters that are usually not seen, e.g. space, tab and new-line.
Remove needless whitespace
Removes any possible spaces or tabs after the text and before the line break.

Regular Expressions

In Advanced Find you can use regular expressions to find and to replace whatever you want. Regular expressions are very powerful but also quite complicated to use properly. Below is a short list of some expressions you can use when searching but for a complete list you can go to:

^ Start of a string
$ End of a string
. Any character (except \n)
* 0 or more of previous expression
+ 1 or more of previous expression
? 0 or 1 of previous expression
\w Matches any word character
\W Matches any non-word character
\s Matches any white-space character
\S Matches any non-white-space character
\d Matches any decimal digit
\D Matches any nondigit
[abc] Matches any single character included in the set
[^abc] Matches any single character not in the set
[a-z] Contiguous character ranges
(a|b) a or b
ab{2} Matches two b characters

Release Notes

  • Added import and export for themes, commands and snippets
  • Many small fixes and improvements
  • Added preference to switch to a tab with Command and 1-9
  • Improvements to Advanced Find
  • Improved accessibility support
  • Better handling of large fonts in line numbers
  • Some other small fixes and improvements
  • Added Touch Bar support
  • Fixed a possible crash
  • Some other small fixes and improvements

End User License Agreement for Smultron 9

By using the licensed or demo version of Smultron 9 you agree to the following: