Convert bookmarks to CSV or JSON

Turn a browser’s bookmarks HTML export into a spreadsheet or a JSON file, with folder paths, tags and dates. Runs in your browser; nothing is uploaded.

Columns

Choose a file (or try the sample) to see the result here.

How it works

Every browser exports bookmarks in the same old format: a Netscape bookmark file, which is HTML with folders as <H3> headings and bookmarks as <A HREF>links. Spreadsheets cannot read that structure. This converter walks the file folder by folder, writes one row per bookmark, and records where each bookmark lived as a folder path. The attributes browsers store on each link, such as ADD_DATE, Firefox’sTAGS and SHORTCUTURL keyword, and the <DD>description line, become columns.

  1. Export your bookmarks as HTML from your browser. Chrome: how to export Chrome bookmarks.
  2. Choose the file above. The preview shows the first 50 rows straight away.
  3. Pick a format and the columns you need, then press Download or Copy.

What each column contains

ColumnSource in the HTML fileNotes
titleLink text of <A>Entities such as &amp; are decoded.
urlHREFNever altered, including javascript: bookmarklets.
folderThe <H3> folders above the linkJoined with / ; empty for bookmarks at the top level.
tagsTAGSFirefox and some bookmark managers write it; Chrome and Safari exports have none.
added / modifiedADD_DATE / LAST_MODIFIEDUnix seconds in the file, converted to UTC. Millisecond values are detected.
description<DD> lineWritten by older Firefox versions and some bookmark managers.
keywordSHORTCUTURLFirefox bookmark keywords.

Folder rows are not written to CSV; a folder exists in the output as the path on its bookmarks. Empty folders therefore disappear from CSV and flat JSON. Use tree JSON if you need them.

Opening the CSV in Excel without broken accents

The file is UTF-8. Excel on Windows assumes an older encoding for CSV files unless the file starts with a byte-order mark, which is why “Café” can open as “Café”. The Excel-friendly option adds that mark. Google Sheets and Numbers read UTF-8 either way. If Excel puts every row into a single column, your system uses the semicolon as its list separator: download the semicolon version instead.

CSV, TSV or JSON?

  • CSV for Excel, Google Sheets, Airtable or Notion database imports.
  • TSV when titles contain lots of commas and quotes, or to paste straight into a sheet. Tabs and line breaks inside a value are replaced with spaces.
  • Flat JSON for scripts: one object per bookmark, folderPath as an array, tags as an array.
  • Tree JSON to keep empty folders and the exact nesting.

Going the other way

To build a bookmarks file from a spreadsheet, use theCSV to bookmarks HTML converter. If the converter here finds no bookmarks in your file, the bookmark file validator explains what is wrong with it. To share the list as text instead, seebookmarks to Markdown.

Related tools

Frequently asked questions

How do I convert my bookmarks to CSV or Excel?

Export your bookmarks from the browser as an HTML file, choose that file here, and press Download CSV. Each bookmark becomes one row with its title, URL, folder path, tags, dates and description. Open the CSV in Excel, Numbers or Google Sheets. If accents look wrong in Excel, keep the Excel-friendly option (UTF-8 BOM) switched on.

What columns does the CSV have?

title, url, folder, tags, added, modified, description and keyword. folder is the full path, joined with " / ", for example Bookmarks bar / Recipes. tags are comma-separated inside one cell. added and modified are the dates stored in the file, in ISO 8601 (UTC) or as plain dates. You can switch any column off before downloading.

Why does a title in my CSV start with an apostrophe?

A cell that begins with =, +, - or @ is treated as a formula by Excel and Google Sheets, and a bookmark title can be crafted to run one. The formula guard puts an apostrophe in front of such cells so the spreadsheet shows them as plain text. URLs are never changed. Switch the guard off if you are feeding the file to a script rather than a spreadsheet.

What is the difference between flat JSON and tree JSON?

Flat JSON is a list with one object per bookmark and its folder path as an array, which is easiest to filter in code. Tree JSON keeps the shape of the original file: folders containing bookmarks and subfolders, in the original order.

Can I turn the CSV back into a bookmarks file?

Yes, with the CSV to bookmarks HTML converter. It reads the url, title, folder and tags columns. It creates one folder for each distinct folder value, so a nested path comes back as one folder named Bookmarks bar / Recipes rather than two nested folders, and the saved dates are not carried back.

Is my bookmarks file uploaded?

No. The file is read by JavaScript in this browser tab and the CSV or JSON is built there. Nothing is sent to a server.

← All free tools