Skip to content
A Sublime Text URL handler for Mac OS
Branch: master
Clone or download
Latest commit 77ec606 Jan 9, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.

Sublime Text URL handler

A URL handler for Sublime Text 3 on Mac OSX.

Implements a Sublime Text variant of the TextMate URL scheme.

Made using JavaScript for Automation. Originally written for Mac OS Sierra 10.12.6 and known to still work with High Sierra (10.13) and Mojave (10.14) as of January 2019.


  • Download the current release:
  • Extract and place in your user Applications directory.
  • Run once to register the handler.


Just delete the app.

How to use

Have your debugging tool/exception handling produce URLs in the following format:


  • subl://open?url=file:///path/to/file.js&line=19&column=4
  • subl://open?url=file:///path/to/other.css&line=127

url is required and the file must exist or an error is given. SublimeUrl expects to find Sublime Text in /Applications/Sublime

Sublime Text and Ruby on Rails errors

This add-on was developed specifically for use with the Better Errors gem although it should work with anything that follows the specified URL format. See the Better Errors Wiki for more information.


Bug reports and pull requests are welcome on GitHub at The .scpt files can be edited with the standard Script Editor.


Version 1.0

This project was written from scratch as a drop-in replacement for the Subl handler by Dave Houlbrooke which has since been retired.


This code is available as open source under the terms of the MIT License.

You can’t perform that action at this time.