Author image Kaldor
and 1 contributors


bookmarks - Export browser bookmarks as plain text.


    $ bookmarks [-hVda] [-f format] [file ...]

    -h, --help      help
    -V, --version   version
    -d              debug
    -a              all files : process arguments and default locations
    -f format       any combination of letters t,u,d as title/url/description
                    (default : tud)
    -s              find schemeless URLs in text files (default : no)


bookmarks is a tool to export bookmarks from files supplied as arguments, or from browsers default locations (when called without arguments). The following sources are supported :

- Safari (.plist)
- Firefox (.sqlite)
- Chrome and Edge (Bookmarks)
- Internet Explorer (Favorites)
- Markdown (.md)
- Gemini (.gmi)
- Surfraw (same as plain text)
- Plain text (any other extension)

Default export format : <title> <url> <description>

- <title> is your bookmark's name, alias, or webpage title.
- <url> is your bookmark's address, URL or URI.
- <description> is empty for Chrome, Edge, Internet Explorer or Gemini. It contains Safari 'Description', Firefox 'Tags' and what the Markdown spec calls the 'Title' (just the tooltip, actually).

Markdown, Gemini and plain text files are processed line by line (as UTF-8) :

    [markdown example]( "with description")
    => gemini://example.gmi gemini example
    plain text example http://example.txt with description


Please report any bugs or feature requests to, or through the web interface at




This software is Copyright (c) 2019-2021 by jul.

This is free software, licensed under:

  The Artistic License 2.0 (GPL Compatible)