NAME
bookmarks - Export bookmarks from browsers and files
SYNOPSIS
$ bookmarks [-hVda] [-f format] [file ...]
-h, --help help
-V, --version version
-d debug (sent to STDERR)
-a all : process arguments and default locations
-f format export format : csv, csv-noheader, html, html-raw,
or any combination of characters t,u,d as
<title> <url> <description> (default : tud)
-s find schemeless URLs in text files (default : no)
DESCRIPTION
bookmarks is a tool to export bookmarks from files supplied as arguments. Without arguments, or with option -a, bookmarks will attempt to read files from browsers default locations. If file is a dash "-", STDIN is read and processed as plain text source.
Supported sources :
Safari (*.plist)
Firefox (*.sqlite)
Chrome and Edge (*Bookmarks)
Internet Explorer (*Favorites)
Netscape Bookmarks File Format (*.html)
Markdown (*.md)
Gemini (*.gmi)
Surfraw (same as plain text)
Plain text (any other extension)
Markdown, Gemini and plain text files are processed line by line (as UTF-8) :
[markdown example](http://example.md/ "with description")
=> gemini://example.gmi gemini example
plain text example http://example.txt with description
Supported fields :
<title> is the name, alias or title.
<url> is the address, URL or URI.
<description> is only supported for Safari 'Description', Firefox 'Tags' and Markdown 'Title' (just the tooltip, actually).
Output format :
By default, fields <title> <url> <description> are exported as plain text. This can be changed by using option -f and specifying any combination of characters t,u,d. Other possible values :
csv
: Comma-separated values with double-quotes and CR NL (RFC 4180).csv-noheader
: same as above, without header line.html
: Netscape Bookmarks File Format.html-raw
: raw list of HTML <A> elements.
BUGS
Please report any bugs or feature requests to kaldor@cpan.org
, or through the web interface at https://github.com/kal247/App-bookmarks/issues.
AUTHOR
jul, kaldor@cpan.org
LICENSE AND COPYRIGHT
This software is Copyright (c) 2019-2025 by jul.
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)