跳转到正文
引用帮助

如何从BibTeX、RIS和CSL-JSON导入引用

一段已排好的APA或MLA字符串不是该搬的文件。把记录——作者、题名、年份、所属出版物、DOI——导出为BibTeX、RIS或CSL-JSON,然后在引用生成器中粘贴或上传。本页讲的就是这次入站交接。如何将参考文献列表导出到Word或Google Docs是相反方向。

作者:阅读约 19 分钟

引用帮助指南的配图
图片:Thomas Martinsen,维基共享资源(CC0)
本页内容

快速回答:如何从BibTeX或RIS导入引用

从已经保存来源的工具导出。选择结构化格式,而不是已排好的参考文献列表。打开生成器,点击Import,粘贴文本或上传.bib、.ris或.json文件。CitationEasy在离线状态下解析最多200条记录(500,000个字符),让你核对,跳过可能的重复项,再用同一份数据按任意引用样式排版。

先选格式,再导入文件

Zotero

选择条目 → 右键 → Export Items… → BibTeX、RIS或CSL JSON。

Mendeley Reference Manager

File → Export All → BibTeX或RIS。网页版无法导出。

EndNote 2025

把输出样式设为RefMan (RIS) Export或BibTeX,然后File → Export。另存为.ris或.bib(必要时把.txt改名)。

Google Scholar

在一条结果下点击Cite并选择BibTeX,或把已保存的文库/个人主页导出为BibTeX或RefMan。

Overleaf / 你已有的.bib文件

下载或复制references.bib,按BibTeX导入。BibLaTeX的.bib是同一份入站文件。

没有导出文件——只有标识符

在生成器中粘贴DOI、ISBN、PMID、arXiv编号或URL,每行一条(每次粘贴25行)。

可粘贴的真实记录(不是模板)

Grady等人2019年文章的Crossref BibTeX(DOI 10.1037/ppm0000185)

@article{Grady_2019, title = {Emotions in storybooks: A comparison of storybooks that represent ethnic and racial groups in the United States.}, volume = {8}, ISSN = {2160-4134}, url = {http://dx.doi.org/10.1037/ppm0000185}, DOI = {10.1037/ppm0000185}, number = {3}, journal = {Psychology of Popular Media Culture}, publisher = {American Psychological Association (APA)}, author = {Grady, Jessica Stoltzfus and Her, Malina and Moreno, Geena and Perez, Catherine and Yelinek, Jillian}, year = {2019}, month = July, pages = {207–217} }

同一篇文章的Crossref RIS

TY - JOUR DO - 10.1037/ppm0000185 UR - http://dx.doi.org/10.1037/ppm0000185 TI - Emotions in storybooks: A comparison of storybooks that represent ethnic and racial groups in the United States. T2 - Psychology of Popular Media Culture AU - Grady, Jessica Stoltzfus AU - Her, Malina AU - Moreno, Geena AU - Perez, Catherine AU - Yelinek, Jillian PY - 2019 DA - 2019/07 PB - American Psychological Association (APA) SP - 207-217 IS - 3 VL - 8 SN - 2160-4142 SN - 2160-4134 ER -

若你只需要转换文件再下载回去,使用转换器中心或DOI to BibTeX工具。本指南讲的是把整座文库送进一份可随时改套样式的活参考文献列表。

本页与导出或整理研究的区别

导出到Word或Google Docs从字符串已经排好之后开始,教悬挂缩进、RTF,以及把RIS/BibTeX导出。如何整理研究是文件夹与Zotero工作流。如何使用DOI是https://doi.org/10.…的标点规则。本URL盯住的是入站文件:如何识别BibTeX、RIS和CSL-JSON,如何从主流管理器导出,以及粘贴一份已排好的参考文献列表时哪里会断。

三种交换格式

每一种正经的文献工具至少会说其中一种。它们存储的是字段,不是写完的句子,所以同一条记录导入后可以变成APA、MLA、Chicago或IEEE。另见术语表中的BibTeX、RIS和CSL-JSON。

该要哪种文件。优先选目的地已经会读的格式。
格式外观最适合注意
BibTeX (.bib)以@article{或@book{开头Overleaf、LaTeX、Google Scholar、大多数管理器LaTeX花括号、重音命令、缺失DOI
RIS (.ris)以TY - 开头,以ER -结尾EndNote、图书馆数据库、Zotero、Mendeley错误的输出样式;不是RIS的.txt
CSL-JSON (.json)以{或[开头Pandoc、Quarto、Zotero的CSL JSON导出美化打印的CSL对上随机JSON转储

BibTeX

CTAN的BibTeX软件包页面是当前的发行说明:BibTeX 0.99e以通用形式存储引文数据,稍后通过样式文件打印。它不懂Unicode排序,但会原样传递读到的字节。Oren Patashnik的BibTeXing(1988年2月8日;btxdoc)仍是学生碰到的格式规则。

Patashnik,BibTeXing(1988年2月8日)

Remember that, when used in the bib file, the entry type name is preceded by an @ character.
If you want to comment out an entry, simply remove the ‘@’ character preceding the entry type.
you separate multiple names in a single field with the word “and”, surrounded by spaces, and not enclosed in braces.
LATEX’s comment character ‘%’ is not a comment character in the database files.
Misspelling a field name will result in its being ignored, so watch out for typos (especially for optional fields, since BibTEX won’t warn you when those are missing).

CTAN,BibTeX软件包页面(版本0.99e)

BibTeX knows nothing about Unicode sorting algorithms or scripts, although it will pass on whatever bytes it reads.

一条记录的形状是@type{citation-key, field = {value}, …}。必填字段取决于类型(@article要author、title、journal、year;@book要author或editor、title、publisher、year)。花括号保护大写({DNA})。姓名写成Last, First或First Last,用 and 连接。BibTeX键生成器只负责铸造引用键;它不导入文库。

Overleaf,“Bibliography management with bibtex”——真实的Knuth书

@book{texbook, author = {Donald E. Knuth}, year = {1986}, title = {The {\TeX} Book}, publisher = {Addison-Wesley Professional} }

Knuth 1984年文章的Crossref BibTeX(DOI 10.1093/comjnl/27.2.97;获取于2026年9月13日)

@article{Knuth_1984, title = {Literate Programming}, volume = {27}, ISSN = {1460-2067}, url = {http://dx.doi.org/10.1093/comjnl/27.2.97}, DOI = {10.1093/comjnl/27.2.97}, number = {2}, journal = {The Computer Journal}, publisher = {Oxford University Press (OUP)}, author = {Knuth, D. E.}, year = {1984}, month = Feb, pages = {97–111} }

这些字段值是Crossref对10.1037/ppm0000185(APA在参考文献示例中使用的文章)和10.1093/comjnl/27.2.97(Knuth的Literate Programming)的内容协商响应。url行仍使用Crossref的http://dx.doi.org/形式;导入后,引用时把DOI写成https://doi.org/10.…(见如何使用DOI)。Knuth的缴存写的是Knuth, D. E.;Overleaf的书例写的是Donald E. Knuth。当Scholar或一份单薄的.bib省略名字、卷号或页码时,优先用出版商DOI。

BibTeX与BibLaTeX

Overleaf当前的BibTeX文章以这条给新项目的建议开篇:

Overleaf,“Bibliography management with bibtex”

If you’re starting from scratch we recommend using biblatex because that package provides localization in several languages, it’s actively developed and makes bibliography management easier and more flexible.

BibLaTeX仍然读取.bib文件。CitationEasy的导入器也是:一份BibLaTeX导出就是入站BibTeX,不是第四种格式。额外的BibLaTeX字段(date、journaltitle、location)会作为未使用的键留下,正像Patashnik所说未使用字段会被忽略。Zotero在导入页把BibLaTeX列在BibTeX旁边;对本生成器而言,两种文件是同一次粘贴。

RIS

RIS是Research Information Systems的标记格式。Clarivate的EndNote文档仍是数据库使用的厂商规范。每个字段是六个字符的标签:两个字母、两个空格、一个短横和一个空格。Zotero的数据格式页指出官方规范上次更新于2001年,因此各家产出会分叉;Zotero导出的RIS相当严格。

Clarivate,“EndNote: Directions for implementing EndNote Direct Export”

Each reference is composed of a variable number of fields; and each field is preceded by a six-character label or "tag".
Except for the first tag of each reference, which must be "TY - " and the last tag of each reference, which must be "ER - ," the tags within each reference can be in any order.
The required tags are "TY" which must be the first tag in the reference, and "ER" which must be the last tag in the reference.
Each author must be on a separate line, preceded by the tag that corresponds to the author role

常见类型代码:JOUR(期刊文章)、BOOK、CHAP(书的一章)、THES、EJOUR、CONF、RPRT、GEN。作者每人重复一次AU - ,写成Lastname, Firstname。年份是四位PY - 。DOI是DO - 。Clarivate为直接导出注册的MIME类型是application/x-research-info-systems。

CSL-JSON

CSL-JSON是Citation Style Language处理器实际消费的形状。citeproc-js描述条目:唯一的id、受约束的type、结构化姓名(family / given),以及作为date-parts的日期。Pandoc和Quarto把JSON数组读作--bibliography=references.json。Zotero的CSL JSON导出就是这种格式。

citeproc-js,“CSL-JSON”(Frank Bennett)

Encoding citation data items in properly formatted CSL-JSON is essential to getting correct results from the CSL Processor.
The id field is a simple field containing any string or numeric value. The value of the ID field must uniquely identify the item, as this field is used to retrieve items by their ID value.
The type field is a simple field containing a string value. CSL-JSON constrains the possible for values of the type field to a limited set of possible values (e.g., “book” or “article”).

同一篇Grady等人2019年文章的CSL-JSON条目(官方Crossref字段值;CSL类型article-journal)

{ "id": "Grady_2019", "type": "article-journal", "title": "Emotions in storybooks: A comparison of storybooks that represent ethnic and racial groups in the United States.", "author": [ {"family": "Grady", "given": "Jessica Stoltzfus"}, {"family": "Her", "given": "Malina"}, {"family": "Moreno", "given": "Geena"}, {"family": "Perez", "given": "Catherine"}, {"family": "Yelinek", "given": "Jillian"} ], "issued": {"date-parts": [[2019, 7]]}, "container-title": "Psychology of Popular Media Culture", "volume": "8", "issue": "3", "page": "207-217", "DOI": "10.1037/ppm0000185" }

为什么要导出记录,而不是已排好的列表

粘贴进去的APA段落是一种样式的照片。BibTeX、RIS和CSL-JSON才是原料。导入后你可以换样式而不必重打。这也是一份看起来像APA的Word参考文献会失败的原因:没有@,也没有TY - ,所以解析器找到零条记录。

导入这些

来自管理器、数据库或Crossref的.bib、.ris或CSL-JSON数组。

没有文件时,每行一条的DOI / ISBN / PMID / arXiv编号 / URL列表。

不要导入这些

从论文里复制的编号或悬挂缩进参考文献列表。

EndNote的.enl文库、EndNote XML、PubMed的.nbib文件、带文件的Zotero RDF备份、Scholar CSV,或一文件夹PDF。

本导入器不会读取的文件

CitationEasy接受三种结构化文本。邻近格式看起来挨着,却会失败。EndNote 2025的Direct Export列表也关联.NBIB;那是给EndNote用的MEDLINE标记文件,不是RIS。Elsevier的Mendeley Reference Manager也能写出EndNote XML和Microsoft Word XML。Zotero能写出带文件和笔记的Zotero RDF。这些都不是本导入器。

不是BibTeX、RIS或CSL-JSON的邻近文件。
文件谁写出它该怎么做
.enl / .enlxEndNote桌面文库再用RefMan (RIS) Export或BibTeX导出一次
EndNote XML (.xml)Mendeley或EndNote在同一导出对话框里选BibTeX或RIS
.nbibPubMed;EndNote 2025 Direct Export用PubMed的RIS或BibTeX按钮,或粘贴PMID
Zotero RDFZotero “with files and notes”改为导出BibTeX、RIS或CSL JSON
Scholar CSVGoogle Scholar个人主页Export选BibTeX或RefMan,不要选CSV

从Zotero导出

Zotero自己的知识库是当前菜单路径。选中内容用Export Items…,一个文件夹用Export Collection…,全部用Export Library…。若要把已有文件导入Zotero,同一批页面记录的是File → Import…。

Zotero文档,“How do I export my Zotero library?”

To export an entire library, right-click on it in the Zotero collections pane and choose “Export Library…”, or select “Export Library…” from the “File” menu. To export an individual collection, right-click on it and choose “Export Collection…”. To export specific items, select them in the items list, right-click, and choose “Export Items…”.
An export is not a proper backup, not recommended for transferring entire Zotero libraries between computers, and not a replacement for ongoing collaboration using Zotero groups.
Reimported items will have new Date Added/Modified times, will no longer be linked to citations in existing word processor documents, and may have minor changes in a small number of fields or, for some formats, even may be missing some fields altogether.

Zotero文档,“How do I import BibTeX or other standardized formats?”

Zotero can import bibliographic data stored in a variety of standardized formats used by databases and other reference management tools. The most popular formats are RIS, Bib(La)Tex, and MODS.
If you have a database stored in one of these formats, such as a BibTeX database you’ve compiled or a RIS database you’ve exported from another reference manager, you can import them into Zotero by clicking File → “Import…” and choosing “A file”.

Creating Bibliographies还指出,若在Settings → Export下设定该格式,Quick Copy可以发出BibTeX或RIS。那是剪贴板路径,不是备份。带文件的Zotero RDF是给另一位Zotero用户的,不是给CitationEasy的。

  1. 选择条目,或右键一个集合或文库名称。
  2. 选择Export Items…、Export Collection…或Export Library…。
  3. 选择BibTeX、RIS或CSL JSON。保存文件。
  4. 在CitationEasy中打开Import并上传该文件(或粘贴其文本)。

从Mendeley导出

Elsevier记录了两款产品。Mendeley Support Center A_id 27743(2022年4月6日更新)是稳定页面。Reference Manager桌面应用是当前导出路径;网页文库仍然无法导出。

Mendeley,“Exporting references”与Support Center A_id 27743(2022年4月6日更新)

In Mendeley Reference Manager use the 'Export All' option found in the File menu and select from BibTeX, EndNote XML or RIS file formats.
The export function is currently not available on Mendeley Reference Manager web.
Mendeley provides the ability to export your library in one of three formats:
  1. 打开桌面版Mendeley Reference Manager(不是仅浏览器里的文库)。
  2. 使用File → Export All,或选中条目后在操作面板使用Export。
  3. 选择BibTeX或RIS。不要为CitationEasy选择EndNote XML或Microsoft Word XML。
  4. 在Import下上传保存的文件。

从EndNote导出

EndNote的交换样式是RefMan (RIS) Export。EndNote 2025还随附BibTeX、BibTeX Using EN Label Field、EndNote Export、Refer Export和Tab-Delimited作为传输样式。这里使用RIS或BibTeX。EndNote online使用同一个RefMan名称。若短列表里没有该样式,选择Select another style并搜索。

Clarivate,“EndNote online: export references to an EndNote desktop library”(2022年6月15日)

Change the “Export Style:” to “RefMan RIS Export”.
Select "Reference Manager (RIS)" as the “Import Option”.

EndNote 2025,“Exporting References for Database Import”

Included styles for transferring data to other programs include:

BibTeX; BibTeX Using EN Label Field; RefMan (RIS) Export; EndNote Export; Refer Export; Tab-Delimited。CitationEasy读取第一种和第三种。

  1. 选择参考文献(整库用Ctrl+A / Command+A)。
  2. 把输出样式设为RefMan (RIS) Export或BibTeX。
  3. 选择File → Export。另存为文本文件;若EndNote写成了.txt,把扩展名改为.ris或.bib。
  4. 导入该文件。CitationEasy不读取原生.enl / .enlx文库或.nbib Direct Export文件。

从Google Scholar导出

Google Scholar Search Help是Cite按钮路径。Scholar个人主页为公开主页增加批量Export。Settings → Bibliography manager也可以在每条结果下钉一条Import into BibTeX链接。

Google Scholar Search Help与Google Scholar Profiles

Click the "Cite" button under the search result and then select your bibliography manager at the bottom of the popup. We currently support BibTeX, EndNote, RefMan, and RefWorks.
Select the articles you'd like to export - or check the box next to the "Title" column header to select all articles in your profile - and click the "Export" button. Follow the prompts to download a BibTeX, EndNote, RefMan, or CSV file.
If the article checkboxes don't appear, sign in to the Google account that you used to create your profile.
  1. 单条结果:点击引号形Cite按钮,再点BibTeX,并复制条目。
  2. 多条结果:把它们保存到My library,或打开Scholar个人主页,选中行,再点Export → BibTeX或RefMan。跳过CSV。
  3. 粘贴或上传到Import。
  4. 若缺少卷、期、页或DOI,改用DOI查找该作品(查找DOI,然后DOI to BibTeX)。Scholar爬网;Crossref持有出版商缴存。

从Overleaf、数据库和DOI导出

Overleaf的BibTeX文章说明.bib文件为何存在:数据库与格式无关,样式文件负责打印。从项目下载references.bib并在此导入。图书馆数据库(PubMed、Scopus、Web of Science、JSTOR、EBSCO)几乎总在结果页提供Export → RIS或BibTeX——那就是本指南导入的同一文件。见图书馆数据库。PubMed的Create a file对话框也会提供.nbib;选RIS或BibTeX,或粘贴PMID。

当你已有DOI却没有管理器时,Crossref内容协商(页面最近更新于2025年3月17日)会为https://doi.org/10.…返回BibTeX(Accept: application/x-bibtex)、RIS(application/x-research-info-systems)或citeproc JSON(application/vnd.citationstyles.csl+json)。DOI to BibTeX转换器在浏览器里做这次查找。

Crossref,“Content negotiation”(2025年3月17日更新)

Content negotiation is useful if you want to retrieve metadata in a commonly used format, such as BibTeX or RIS.
Only one record at a time is returned by content negotiation.
For example, the Crossref types book, edited-book, and monograph map to the single RIS type book.

一个DOI等于一条记录。对于DOI列表,把它们粘进生成器(25行)或使用转换器。不要指望https://doi.org/10.…返回整座文库。

导入到CitationEasy

打开引用生成器和参考文献面板。Import接受粘贴的文本或.bib / .ris / .json文件。检测看第一个字符:{或[是CSL-JSON;TY - 标签是RIS;否则是BibTeX。解析在本地完成。然后你核对记录,排除不想要的,并点击Format and import。

  • 上限: 200条记录和500,000个字符。超出的记录会报为超限,而不是在没有计数的情况下悄悄丢掉。
  • 重复项: 核对步骤会标记已在参考文献中或在文件内部重复的题名。除非你保留,否则会跳过。
  • 缺失字段: 一条记录可以带着空白作者或年份导入。导入后再编辑,不要信任一条单薄的Scholar行。
  • 标识符粘贴: 用换行分隔的DOI、ISBN、PMID、arXiv编号或URL列表不是BibTeX文件。生成器会逐行查找(每次粘贴25行)并加入结果。以@article{开头的一整块会作为一座BibTeX文库保持在一起。

批量粘贴标识符(会查找;不是.bib文件)

10.1037/ppm0000185 10.1093/comjnl/27.2.97

这两行是APA Style Center的Grady文章和Knuth 1984年的Literate Programming(Overleaf / Computer Journal那篇)。每行一条,不要项目符号。

先导入文件,再选样式

交换文件没有引用样式。导入后,在生成器中选择APA、MLA、Chicago或任何其他样式,然后复制或导出已排好的列表。

学生实际会撞上的失败模式

若导入什么也没返回,文件通常是错误种类的文本。
症状可能原因处理
“No citations found”已排好的参考文献、PDF、.enl文库、EndNote XML或.nbib重新导出为BibTeX、RIS或CSL JSON
一条糊成一团的记录没有TY / ER成对的RIS标签,或不是CSL条目的JSON确认文件以@、TY - 、{或[开头
旧的LaTeX重音花括号,或残留的{DNA}保护解析器没有展平的旧LaTeX转义编辑导入后的条目;只在题名需要时保留花括号
缺少DOI或页码,或出现Knuth, D. E.而不是全名Google Scholar或单薄的数据库导出用Crossref或DOI工具替换该记录
重复行同一文件导入了两次,或Scholar加上出版商使用导入核对这些重复项,然后删除残留
超限提示超过200条记录拆分导出,或把管理器留作记录系统

Zotero的警告在这里同样适用:一次交换导出不是PDF、笔记或文字处理引文的备份。把管理器(或Overleaf的.bib)留作文库。CitationEasy保存的是你正在为一篇论文排版的工作列表。

反方向

列表排好之后,导出到Word或Google Docs以得到悬挂缩进,或把RIS / BibTeX / CSL-JSON再导出去。Zotero的导入页是回到管理器的回程:File → Import… → A file。不要把任一方向当成完整的文库迁移。

相关指南

常见问题

CitationEasy支持哪些导入格式?
三种结构化格式:BibTeX(.bib)、RIS(.ris)和CSL-JSON(.json)。粘贴文本或上传文件。多条目文件会导入每条记录,每次导入最多200条、500,000个字符。你也可以把纯DOI、ISBN、PMID、arXiv编号或URL列表(每行一条,每次粘贴25行)贴进生成器做查找。不接受EndNote XML、PubMed .nbib、Zotero RDF、Scholar CSV和.enl文库。
如何导出Zotero文库,好让CitationEasy读到?
选择条目(或一个集合或文库),右键,选择Export Items、Export Collection或Export Library。另存为BibTeX、RIS或CSL JSON。在Import下上传该文件。Zotero RDF是给另一座Zotero文库的,不是给本导入器的。一次导出不是Zotero备份。
为什么我的Word参考文献什么也没导入?
悬挂缩进的参考文献列表是已排好的文本。导入器寻找@type{键、TY -标签或CSL-JSON对象。从Zotero、Mendeley、EndNote或Scholar重新导出为BibTeX或RIS,或改为粘贴DOI。
导入时引用样式会一起带过来吗?
不会带过来任何样式,而这正是重点。BibTeX、RIS和CSL-JSON存储作者、题名、年份和标识符——不是一句APA句子。导入后,在生成器中任选一种样式,以后再切换而无需重新导出。
我能导入的参考文献数量有上限吗?
有。文件和粘贴导入接受200条记录和500,000个字符;多余行计为超限。标识符粘贴上限为25行,以免淹没Crossref和PubMed。拆分更大的文库,或把它留在Zotero / EndNote并导出子集。
我能从Mendeley网站导出吗?
在Mendeley Reference Manager网页版不行。Elsevier的导出指南说要在桌面应用里使用File → Export All并选择BibTeX或RIS。EndNote XML和Microsoft Word XML是给EndNote或Word的,不是给本导入器的。
该用Google Scholar的BibTeX还是DOI?
用Scholar找文章。当Scholar省略卷、期、页或DOI时,优先用出版商DOI——Crossref或DOI-to-BibTeX工具。Cite弹出窗口对完整记录够用;对学位论文文库来说,它是弱的真相来源。例如Crossref的Knuth 1984缴存写的是Knuth, D. E.,不是Overleaf书例里的完整名字。
RIS和BibTeX有什么区别?
BibTeX是LaTeX数据库(@article{…},字段在花括号里)。RIS是Clarivate的标记格式(TY - JOUR … ER - )。两者都是结构化的。RIS是EndNote和大多数图书馆Export按钮发出的;BibTeX是Overleaf和Scholar发出的。若你已在Pandoc或Zotero中工作,CSL-JSON是第三种选择。BibLaTeX仍使用.bib文件;按BibTeX导入即可。
如何从EndNote 2025得到RIS文件?
选择参考文献,把输出样式设为RefMan (RIS) Export(若被隐藏则用Select another style),然后File → Export。必要时把.txt改名为.ris。BibTeX是本导入器读取的另一种EndNote 2025传输样式。CitationEasy打不开.enl文库或PubMed的.nbib文件。
我能用一个DOI从Crossref取回整座文库吗?
不能。Crossref的内容协商页(2025年3月17日更新)写明每次只返回一条记录。在生成器中粘贴最多25个DOI,或从已经持有该集合的管理器导出一份.bib / .ris文件。