Learn how to use the join function in Notion formulas.

The join() function takes its second argument and inserts it in between each of the list items in the first argument. It will only accepts a list as its first argument and a string as its second argument.

join(list, string)

Code language: JavaScript (javascript)

Note that Notion’s join() function does not use a default separator (e.g. ,), so you’ll always need to define one.

Good to know: non-string data types can be used in the second argument, but they will be automatically converted into strings. For example, join(["A", "B", "C"], 1) will return "A1B1C"

join(["Luffy", "Zoro", "Nami", "Chopper"], ", ")
/* Output: Luffy, Zoro, Nami, Chopper */

[1, 2, 3, 4].join("-") /* Output: "1-2-3-4" */

/* Use "\n" to add line breaks */
join(["Luffy", "Zoro", "Nami", "Chopper"], "\n")
/* Output:
Chopper */
Code language: JavaScript (javascript)
About the Author

My name is Thomas Frank, and I'm a Notion-certified writer, YouTuber, and template creator. I've been using Notion since 2018 to organize my personal life and to run my business and YouTube channel. In addition to this formula reference, I've created a free Notion course for beginners and several productivity-focused Notion templates. If you'd like to connect, follow me on Twitter.

🤔 Have an UB Question?

Fill out the form below and I’ll answer as soon as I can! ~Thomas

🤔 Have a Question?

Fill out the form below and I’ll answer as soon as I can! ~Thomas