# How to launch the operating system’s default browser at a given URL?

**URL:** <https://discourse.processing.org/t/how-to-launch-the-operating-system-s-default-browser-at-a-given-url/47043>\
**Category:** Coding Questions\
**Created:** [August 29, 2025, 9:27am UTC](https://discourse.processing.org/t/how-to-launch-the-operating-system-s-default-browser-at-a-given-url/47043 "2025-08-29T09:27:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![EricRogerGarcia](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/ericrogergarcia/32/21029_2.png) [@EricRogerGarcia](https://discourse.processing.org/u/EricRogerGarcia)\
**Post date:** [August 29, 2025, 9:27am UTC](https://discourse.processing.org/t/how-to-launch-the-operating-system-s-default-browser-at-a-given-url/47043/1 "2025-08-29T09:27:05Z")

</div>

It is complementary to the previous request

with Windows for the majority but also with Linux for the minority of whom I am part

---

<div class="post-metadata">

**Author:** ![stefterv](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/stefterv/32/21678_2.png) [@stefterv](https://discourse.processing.org/u/stefterv)\
**Post date:** [August 29, 2025, 9:46am UTC](https://discourse.processing.org/t/how-to-launch-the-operating-system-s-default-browser-at-a-given-url/47043/2 "2025-08-29T09:46:40Z")

</div>

For reference, inside of Processing we use [`Platform.openURL`](https://github.com/processing/processing4/blob/198f593971e42458a35e0c6664920e6709ba04bf/app/src/processing/app/platform/DefaultPlatform.java#L237-L241)

---

<div class="post-metadata">

**Author:** ![glv](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/glv/32/18785_2.png) [@glv](https://discourse.processing.org/u/glv)\
**Post date:** [August 30, 2025, 1:19am UTC](https://discourse.processing.org/t/how-to-launch-the-operating-system-s-default-browser-at-a-given-url/47043/3 "2025-08-30T01:19:57Z")

</div>

I came across this Processing helper method:

> <https://github.com/processing/processing4/blob/main/core/src/processing/core/PApplet.java#L3067>

Example of usage:

```auto
link("https://processing.org/");

```

`:)`
