Leading professional HTML and text editor for Mac

BBEdit for Mac

BBEdit 13.1

  -  14.2 MB  -  Trial

Sometimes latest versions of the software can cause issues when installed on older devices or devices running an older version of the operating system.

Software makers usually fix these issues but it can take them some time. What you can do in the meantime is to download and install an older version of BBEdit 13.1.


For those interested in downloading the most recent release of BBEdit for Mac or reading our review, simply click here.


All old versions distributed on our website are completely virus-free and available for download at no cost.


We would love to hear from you

If you have any questions or ideas that you want to share with us - head over to our Contact page and let us know. We value your feedback!

  • BBEdit 13.1 Screenshots

    The images below have been resized. Click on them to view the screenshots in full size.

    BBEdit 13.1 Screenshot 1
  • BBEdit 13.1 Screenshot 2
  • BBEdit 13.1 Screenshot 3
  • BBEdit 13.1 Screenshot 4
  • BBEdit 13.1 Screenshot 5

What's new in this version:

Changes:
- Moved the "Highlight insertion point" preference from Text Colors to Editing. This is now set separately from the color scheme; and if the setting is present in a color scheme, it is ignored.
- We have rewritten the internals of "Preview in BBEdit" windows, to use the current version of WebKit. Things should generally work just the same, with the following changes: the Inspector (magnifying glass) toolbar item is now a toggle; clicking it while the inspector is visible will hide the inspector; the "Media Type" setting is no longer available; WebKit 2 does not support it; there should generally be less flashing and scrolling when the preview refreshes (either while editing or in response to the "Refresh BBEdit Preview" command).
- BBEdit no longer supports opening images for display. Quick Look still works when used in a disk browser or project/editing window sidebar
- Various refinements to placeholder processing in the "Update Document" (and friends) command: "#TITLE#" is now a synonym for "#DOCTITLE#"; Date/time placeholders with no format strings will now insert a generically formatted date/time: "#DATETIME#", "#DATETIME_GMT#", "#DATETIME_UTC#", "#LOCALTIME#", and "#GMTIME#" all do something now; The "#FILE_EXTENSION" placeholder works now.
- Added an "Application Support" entry to the Folders submenu on the BBEdit application menu. This will take you to the main application support folder (which contains most of the other folders listed on the menu).
- When installing the command line tools on a clean macOS installation, /usr/local/bin/ and /usr/local/share/man/man1/ don't exist, and BBEdit can't create them without some help. In this situation, BBEdit will prompt you to confirm, and then will ask the Terminal to run a command file which does the work.
- Made a change so that (when possible and appropriate) an error alert is presented in the window to which it applies, rather than blocking the entire application
- Made a change so that Command-Option-double-click on a selected range does not attempt to select the entire word, but will instead simply search for (and select, if found) the next occurrence of the existing selection.
- macOS works best when you specify a file name extension when saving a new document. If you don't, the OS will often behave unpredictably when you double-click on the resulting file.
- For this reason, when creating a new file which has no filename extension, BBEdit will add an extended attribute which tells the OS to open that file in BBEdit specifically. If you wish, you can change the assigned application for that file using the “Open with:” setting the Finder's “Get Info” window.
- You can prevent BBEdit from adding this extended attribute as follows: defaults write com.barebones.bbedit SaveOpenWithDataInTypelessFiles -bool NO
- Made the results reporting for Replace All unqualified. (Disqualified? Dequalified? Whatever. No more parentheses.)
- Qualified path items get a folder icon ahead of the path portion when displayed in the Window and Open Recent menus
- Project document and browser windows get the document's icon displayed when listed in the Window menu
- When checking syntax in an HTML5 document, the checker allows unknown elements as long as they are properly paired and closed. This quiets noise resulting from the use of Web Components.
- When choosing "Buy License" from the license panel, if you have a previous version serial number, the application will display that number in the alert. You can copy and paste this as needed.
- The "Buy License" button for purchasing a new license will now go directly to our web store rather than using an in-application UI
- Added an explicit "port" field to the configuration dialog for FTP/SFTP bookmarks, and made it look more like the regular FTP/SFTP connection panel
- Made a change to the behavior of "Open Selection" so that it will attempt to resolve absolute and home-relative paths (unwinding backslash escapes, if necessary). If the selection resembles either an absolute or home-relative path but is not valid, Open Selection will proceed directly to opening the "Open File by Name" window without attempting a search.
- Restored the "grip strips" drag handle indicator to the right-hand side of the action bar (at the bottom of the sidebar) in projects and disk browser windows.
- Made the about box window vertically resizable
- The about box window now indicates when BBEdit is in Free Mode, rather than always saying "(evaluation version)" even after the initial 30-day period has expired.
- During the evaluation and when in Free Mode, clicking on the indication ("(evaluation version)" or "(free mode)") will open the license panel, which contains more information.
- If you are using an applicationWillSwitchOut attachment script, please note that the script now actually runs when its name suggests: before the application goes to the background, rather than after as in previous versions.
- The "violator" used during the initial 30-day evaluation period and when running in Free Mode is now a button. Clicking it opens the License panel (which contains additional details as well as providing a place to purchase).
- Added a "Can't Find It?" button to the serial number entry panel
- Made a change to the Get Info panel so that it selects only the file's "base" name, leaving the extension unselected
- Made the right-click highlighting for list items a little less heavy
- The "Selected text only" option in the Find window is now disabled and turned off automatically if the target search window doesn't have a selection. This should resolve confusion of the "why doesn't anything happen when I press Enter in the Find window?" sort, in case the option had previously been turned on.
- By default, BBEdit will use your color scheme's background color as the background for the sidebar and other UI elements when running in Dark Mode. If there's some reason you would prefer it didn't do this, you can set an expert preference: defaults write com.barebones.bbedit UseColorSchemeBackgroundForDarkModeUI -bool NO


Fixes:
- Made a change to line up the disclosure buttons in the settings list in the Text Colors preferences
- Fixed bug in which the completion panel didn't alter its appearance appropriately after changing the active color scheme
- Fixed crash which would occur when dragging an HTML document into an HTML document, and the dragged file had an unbalanced title tag
- Fixed a layout bug in the Pattern Playground window when it exceeded a certain width
- Fixed weirdness in the Pattern Playground window when making certain edits in the search pattern field. (I'm sure that the people who wrote NSTextView can explain why it does that, but probably nobody else can.)
- Adjusted the application document-type registrations to resolve conflicts with additions to the built-in OS document types in 10.14 and later
- Site deployment no longer relies exclusively on a file's name extension to determine its language; as when opening a document, any metadata such as Emacs mode variables, EditorConfig settings, or automatic guessing will make this determination more accurate.
- Fixed a bug in which scroll bar tick marks were only drawn in the active pane of a split editing view
- Fixed a bug in which highlighting of search ranges and other "special" ranges didn't work correctly in the inactive pane of a split editing view
- Corrected the appearance of the popup menu icons in the HTML markup tools palette
- PHP heredoc scanning has been adjusted to be more lenient about the closing delimiter, per the changes introduced in PHP 7.3
- Dragging a file item from a Disk Browser window being used to display a Zip or tar archive will now place a copy of the file's data in the drop location, rather than creating a URL clipping
- Fixed a crash which would occur if an error occurred while opening a tar archive for reading
- Updated the MySQL keyword list
- Fixed a bug in which the sidebar layout in instaprojects was incorrect when "Save Default Text Window" had previously created defaults for editing windows, but "Save Default Project Window" had never been used
- Removed the #meta# placeholder from the list in the Placeholders sheet, since it didn't actually do anything
- Added support for EcmaScript template strings in the JavaScript language module. They are just colored as strings (no sub-range coloring), but embedded expressions, sub-strings and comments should no longer throw off the other syntax coloring, function parsing or folds.
- Fixed bug in which trying to save changes to files in Zip archives would fail in some archives
- Made a correction to the HTML5 syntax checker so that download attributes in "<a>" elements don't report an error when the (optional) value is omitted
- Worked around a bug in which macOS would strip the document's existing filename extension from the file name when using Save As, but only on alternate invocations. (Radar 57976122)
- Made changes to improve the overall speed of drawing tick marks in the vertical scrollbar to indicate live matches (for Live Search, the Find window, and selected text), which benefits very large files and very large numbers of matching occurrences.
- Fixed a bug in which "@supports" was not colored in CSS/SCSS documents
- Fixed a PHP syntax coloring bug in which the character after single-character PHP variable names got colored using the Variables color
- Fixed a PHP syntax coloring bug in which the character after the closing brace of a variable interpolation got colored using the Variables color
- Fixed a bug in which Ruby class migration declarations would break code folding for the class
- Made a change so that angle brackets can be backslash-escaped in Markdown documents to hide them from the syntax colorizer and function scanner
- Added MacSpice to the list of applications to which BBEdit is allowed to send Apple Events, to restore its external-editor support to working order
- Fixed a bug in which using "Open Selection" with an absolute path selected would do unnecessary work, which could take a very long time under certain conditions
- Fixed drawing glitch which would occur in project sidebars when changing the "Status bar item size" setting in the Appearance preferences
- Fixed cosmetic glitch in which the icon in the Text Statistics status bar item wasn't dimmed when its containing window wasn't active
- Picked some nits in the about box text
- Fixed a bug in the about window's path menu in which separator items weren't disabled as they should have been
- If an item in the Scripts (or other folder that backs a menu) is an alias or symlink, the name of the alias itself is now used as the title of the menu item, which resolves confusion when the linked item has a name which isn't useful when presented in the menu
- "Compare Against Previous Version" is enabled for documents being viewed in a results window, even when the keyboard focus is not on the text view
- Fixed a bug in which the text highlight color settings in the Text Colors preferences didn't reflect the system highlight colors, which led to confusion when turning on the "Use custom highlight colors" setting.
- Fixed bug in which using the "Citation" command from the Markup/Phrase Elements menu would apply the "<cite>" tag twice
- Preference panes' names are now included in their search terms, so that you can type "shortcut" to find the "Menus & Shortcuts" preferences pane
- Added syntax coloring of keyword args (arg:) and hash keys (key:) in ruby files. This uses the "Keyword argument names" setting
- Added "extend", "include", "public", "private", and "protected" to the list of Ruby predefined names
- Added some zsh keywords and predefined commands to the Unix Shell Script keyword list
- Fixed bug in which keyboard equivalents for the navigation bar items in preview windows didn't work
- Fixed bug in which using Script Debugger's object explorer would cause the Palettes menu to malfunction and show check marks next to all of the items (except "Colors", attempt no landings there)
- Made a change so that failed #bbinclude statements will leave the existing internal contents of the include block alone, rather than replacing them with nothing. This improves behavior when previewing or deploying documents with legacy include statements pointing to resources that don't exist anymore. (In the deployment case, BBEdit will still log an error.)
- Added some armorplating (and logging) at the site of a nonreproducible crash
- Fixed a bug in which file names whose extensions were in ALL CAPS OK would not always show the correct icon in FTP/SFTP browser windows
- Since the application doesn't open images anymore, if you try to open one from an FTP/SFTP browser window, BBEdit will now ask the Finder to open the item for you
- Fixed a bug in the Pascal color scanner, in which certain valid hex sequences were inappropriately colored when they appeared in the middle of other text
- Made a change so that BBEdit doesn't try to save a document's print settings when you haven't printed that document via the Print panel (within an open/close cycle for the document). This works around cases in which the OS printing system stalls or hangs the application while trying to retrieve the current printing settings.
- Fixed crash which would occur when updating an HTML document containing certain placeholders, when the placeholder itself ended abruptly at the end of the document
- Made an adjustment so that if the application can't find a sleep state file for the computer on which it's running, but the newest available sleep state is more than a week old, the application will ignore the old sleep state. This reduces the likelihood that long-obsolete sleep state will get restored when relaunching after an event in which the sleep state wasn't saved.
- Fixed bug in which C++ class and struct definitions escaped detection if they were qualified with final
- Improvements to CSS syntax coloring: value units, CSS function names, and value names are colored; fixed cases in which value text was colored as a selector if it happened to match a selector name (e.g. "right"); added many missing selector and value keywords.
- Fixed bug in which an unsupported legacy "#mark" comment was not colored correctly and would generate junk in the function menu in CSS files
- Fixed bug in which CSS pseudo element selectors would confuse the function/fold scanner
- Fixed variable coloring in SCSS files
- Fixed bug in which the #script# clipping placeholder didn't correctly set up the Unix shell environment
- Markers (created via the "Set Marker" and "Find & Mark All" commands) are now stored with autosave state (for untitled and unsaved documents), so that the markers are preserved as part of crash recovery and state restoration.
- Made a change so that unsaved and untitled documents remember their display settings (soft wrap, invisibles, etc) during application state preservation and crash recovery
- Fixed crash which could occur when bringing up the Multi-File Search window
- Fixed bug in which collection items in project sidebars didn't show the correct highlighting when dragging an item over them
- Line numbers in the line number bar are now drawn using the "Plain Text" color from the active color scheme, which improves readability with certain background colors
- Fixed a bug in which certain edits in VBScript files would cause subsequent HTML in the same file to malfunction
- Fixed a bug in which right-clicking on a non-selected item in the sidebar of a project window would cause selected item(s) to open (in cases where the documents had been closed)
- Made a change to significantly improve the performance of loading large HTML and XML files with large quantities of element pairs
- Fixed crash which would occur when printing a list (such as the list of results from a Search Results window)
- Search results windows created by a single-file "Find All" get a refresh button. This will repeat the search using the same string and options as the original, including "Selected Text Only".
- Fixed bug in which an unhelpful error was reported in conditions where trying to connect to a remote SFTP server failed because the remote account had a shell configuration or login script which echoed something to standard output.
- Made a change to improve error reporting during failed SFTP connections when the requested host refuses the connection, or when the host name lookup fails
- Fixed bug in which a "//" in the middle of a Swift block comment would confuse the parser and lead to unexpected coloring and/or function scanning behavior
- Fixed bug in which errors reported during find and replace operations would sometimes report an incorrect error number