This data set contains the results of a survey about researchers’ experience with and attitudes toward preprinting. The survey respondents are authors of journal articles published in 2021 and 2022 and indexed in the Web of Science database. The questions in the survey are grouped into three sections: experience with preprinting, opinions on preprinting, and demographic questions. The Word document contains the survey form. The Excel spreadsheet contains the raw survey data. Free-text responses are not included in the spreadsheet because they may reveal sensitive information. For more information about this data set, please see the paper "To Preprint or Not to Preprint: Experience and Attitudes of Researchers Worldwide" by Rong Ni and Ludo Waltman. This paper will be published soon.