Code & text

Terminal OSC 8 hyperlink

Generate a JSON-escaped terminal hyperlink sequence.

Your inputs

Start with an example

Your inputs stay in your browser.

Your result

Example result

How it works

Surround the label with OSC 8 open/close sequences terminated by ST (ESC backslash). JSON output escapes the control characters.

An https URL and label produce a sequence that a supporting terminal can render as a hyperlink.

Limits

Nothing is opened or executed. Terminal support varies. Control characters are rejected; allowed URI schemes are http, https, mailto and file.