如果您已经使用Google Chrome一段时间了,那么您很可能已经建立了一个庞大的书签库,而您无法承受丢失。因此,如果您打算更换设备、设置新的浏览器配置文件或从头开始重新安装Chrome ,则必须事先导出它们。(Chrome)这允许您稍后导入数据。
您可能正在使用 Google 帐户将浏览数据(using a Google Account to sync browsing data)实时同步到Google服务器。(Google)然而,最好采取更安全的方法。
下面,您将找到将Google Chrome(Google Chrome)中的书签导出到HTML文件的分步说明,包括您应该如何导入它们。您还将了解其他备份方法,包括通过Chrome Sync同步书签(如果您还没有)和以原始格式复制书签数据。
在 Google Chrome 中导出书签
如果您在 PC 或Mac上使用(Mac)Google Chrome ,您可以通过集成的书签管理器(Bookmark Manager)轻松地将您的书签导出为HTML文件。您无法在Android或 iOS 版本的Google Chrome上执行此操作,但您可以通过(Google Chrome)Google 帐户(Google Account)同步书签(稍后会详细介绍),然后根据需要通过桌面设备导出数据。
1. 打开 Chrome 的更多(More )菜单(选择窗口右上角的三个点图标),指向书签(Bookmarks),然后选择书签管理器(Bookmark Manager)。或者,改为按Ctrl + Shift + O (PC) 或Cmd + Option + B (Mac)。
2. 选择书签管理器(Bookmark Manager)屏幕 右上角的组织按钮(另一个带有三个点的图标)。(Organize )
3. 选择标有导出书签(Export bookmarks)的选项。
4. 指定保存书签的目的地。如果需要,可以将输出文件的默认名称替换为bookmarks_month_date_year以外的名称。
5. 选择保存(Save)。
您已完成Chrome书签的导出。您应该在之前指定的目录中以HTML(HTML)文件的形式找到它们。它是通用兼容的,这意味着您可以将内部数据导入任何浏览器。
您还可以在不导入任何内容的情况下查看 HTML 文件中的内容。(view the contents inside the HTML file)只需双击它,您就会看到一个包含所有书签的超链接列表。
在谷歌浏览器中导入书签
在您切换到在另一台桌面设备上使用Chrome、设置新配置文件或完成重新安装浏览器后,您可以同样快速地导入书签。
但是,如果您之前使用过Google 帐户(Google Account),那么如果您选择重新登录,您的书签应该会立即从Google服务器同步过来。如果是这样,您不必从HTML文件中导入数据。
1.在Chrome中打开书签管理(Bookmark Manager)器。
2.从书签管理器(Bookmark Manager)窗口的右上角选择组织图标。(Organize )
3. 选择导入书签(Import bookmarks)。
4. 选择包含您的书签的HTML文件。
5. 选择打开(Open)。
Chrome应立即导入您的书签。如果浏览器配置文件还没有任何其他书签,则您导入的数据应保留其原始结构。如果没有,您会看到它们列在书签管理器侧边栏上 标记为已导入(Imported )的单独文件夹下。
但是,您可以通过将内容拖放到书签管理器中的其他位置来将内容移到(Bookmark Manager)Imported文件夹之外。
其他备份Chrome 书签的(Chrome Bookmarks)方法(Ways)
除了将Chrome(Chrome)书签导出到HTML文件之外,您还可以依靠其他几种方法来备份和恢复您的书签。
使用 Chrome 同步(Use Chrome Sync)
如果您使用Google 帐户(Google Account),您的书签将始终备份并与Google服务器同步。但是,如果您不这样做,您应该考虑设置一个,因为除了跨设备无缝访问您的书签之外,您还可以访问所有形式的浏览数据(密码、历史记录、设置等)。
您可以通过选择屏幕右上角的个人资料图标并选择开启同步(Turn on sync)来登录Chrome。完成对您的Google 帐户(Google Account)的验证后,选择是,我在,(Yes, I’m in)以指示浏览器同步您的浏览数据。
您还可以通过转到更多(More )>设置(Settings )>同步和 Google 服务(Sync and Google services )>管理您同步(Manage what you sync)的内容来管理您的同步偏好。
Chrome Sync还扩展到Android和 iOS 版本的Chrome。但是,由于您无法从移动设备导出书签,因此您别无选择,只能使用Google 帐户(Google Account)来保护它们。
但是,在将移动 Chrome 书签同步到 PC 或Mac后,您仍然可以获取HTML格式的移动(HTML)Chrome书签的副本。您也可以以同样的方式将书签从HTML文件导入到Android或 iPhone 。只需(Just)在 PC 或Mac上执行此操作,然后将数据同步到您的移动设备。
复制书签存储文件(Copy Bookmarks Storage File)
假设您无法在 PC 或 Mac 上打开 Chrome,(can’t open Chrome on your PC or Mac)并希望通过重新安装浏览器来解决此问题。由于无法导出您的Chrome书签(甚至无法使用Chrome Sync更新Google服务器上的数据),因此备份它们的唯一方法是通过File Explorer或Finder将存储您的书签的文件复制到另一个位置。
首先转到包含 PC 或Mac上的用户数据的目录。
PC:按Windows + R打开“运行”(Run)框。然后,输入以下文件夹路径并选择OK:
%UserProfile%\AppData\Local\Google\Chrome\User Data
Mac:打开 Finder 并在菜单栏上选择前往(Go)>前往文件夹。(Go to Folder)然后,输入以下文件夹路径并选择Go:
~/Library/Application Support/Google/Chrome/
在显示的目录中,选择标有Default的文件夹以查看Chrome配置文件的内容。
如果Chrome包含多个配置文件,您应该会看到名称为Profile 1、Profile 2、Profile 3等的文件夹,其中包含特定于每个配置文件的数据。如果是这样,请识别并打开正确的配置文件文件夹。
然后,找到并复制标有Bookmarks和Bookmarks.bak的文件。然后将其保存在 PC 或Mac上的不同位置。
重新安装Chrome后,您可以将文件复制到新Chrome配置文件的目录以恢复您的书签。如果它们没有出现在Bookmark Manager中,请退出并重新启动浏览器。
备份和恢复 Chrome 书签(Restoring Chrome Bookmarks)
使用Google 帐户(Google Account)确实可以帮助您减少因硬件或软件损坏导致的问题而丢失 Chrome 书签的担忧。但是,如果 Chrome Sync 无法按预期工作(if Chrome Sync fails to work),偶尔手动备份到HTML文件不会受到伤害,并且可以作为故障保险。此外,如果您一开始就无法打开浏览器,请不要忘记您可以复制存储书签的数据文件。
How to Export and Import Chrome Bookmarks
If you’ve used Google Chrome for a while, thеn chances are you’ve built up a sizable lіbrary of bоokmarks that you just can’t afford to loѕe. So if уou’re plannіng to switch deviceѕ, set up a new browser profile, or reinstall Chrome from scratch, you must export them beforehаnd. That allows you to imрort the data аt a later time.
You’re probably using a Google Account to sync browsing data to the Google servers in real-time. Nevertheless, it’s always best to take a safer approach.
Below, you’ll find step-by-step instructions to export bookmarks in Google Chrome to an HTML file, including what you should do to import them. You’ll also learn of other backup methods that involve syncing bookmarks via Chrome Sync (if you don’t already) and copying bookmark data in raw format.
Export Bookmarks in Google Chrome
If you use Google Chrome on a PC or Mac, you can easily export your bookmarks to an HTML file via the integrated Bookmark Manager. You can’t do that on the Android or iOS versions of Google Chrome, but you can sync the bookmarks over a Google Account (more on that later) and then export the data via a desktop device should you want.
1. Open Chrome’s More menu (select icon with three dots at the top-right of the window), point to Bookmarks, and select Bookmark Manager. Or, press Ctrl + Shift + O (PC) or Cmd + Option + B (Mac) instead.
2. Select the Organize button (another icon with three dots) at the top-right of the Bookmark Manager screen.
3. Select the option labeled Export bookmarks.
4. Specify a destination to save the bookmarks. If you want, you can replace the default name of the output file with something other than bookmarks_month_date_year.
5. Select Save.
You’ve finished exporting the Chrome bookmarks. You should find them in the form of an HTML file inside the directory you specified earlier. It’s universally compatible, which means you can import the data inside to any browser.
You can also view the contents inside the HTML file without importing anything. Just double-click it, and you will see a list of all your bookmarks as hyperlinks.
Import Bookmarks in Google Chrome
Once you’ve switched to using Chrome on another desktop device, set up a new profile, or finished re-installing the browser, you can import your bookmarks just as quickly.
However, if you used a Google Account previously, your bookmarks should sync over from the Google servers immediately if you choose to sign in again. If so, you don’t have to import the data from the HTML file.
1. Open the Bookmark Manager in Chrome.
2. Select the Organize icon from the top-right of the Bookmark Manager window.
3. Select Import bookmarks.
4. Select the HTML file containing your bookmarks.
5. Select Open.
Chrome should import your bookmarks immediately. If the browser profile didn’t already have any other bookmarks, the data you imported should retain its original structure. If not, you’ll see them listed under a separate folder labeled Imported on the Bookmark Manager’s sidebar.
However, you can move the contents outside the Imported folder by dragging and dropping them to other locations within the Bookmark Manager.
Other Ways to Back Up Chrome Bookmarks
Exporting Chrome bookmarks to an HTML file aside, you can also rely on a couple of other ways to back up and restore your bookmarks.
Use Chrome Sync
If you use a Google Account, your bookmarks always stay backed up and in sync with the Google servers. However, if you don’t, you should consider setting one up since you get to access all forms of browsing data (passwords, history, settings, etc.) in addition to your bookmarks across devices seamlessly.
You can sign into Chrome by selecting the profile icon to the top-right of the screen and selecting Turn on sync. Once you’ve finished authenticating your Google Account, select Yes, I’m in to instruct the browser to sync your browsing data.
You can also manage your sync preferences by heading over to More > Settings > Sync and Google services > Manage what you sync.
Chrome Sync also extends to the Android and iOS versions of Chrome. However, since you can’t export your bookmarks from a mobile device, you don’t have a choice but to use a Google Account to safeguard them.
But you can still grab a copy of your mobile Chrome bookmarks in HTML form after syncing them to a PC or Mac. You can also import bookmarks to an Android or iPhone from an HTML file the same way. Just do that on a PC or Mac and sync the data to your mobile device.
Copy Bookmarks Storage File
Suppose you can’t open Chrome on your PC or Mac and want to fix that by reinstalling the browser. Since it’s impossible to export your Chrome bookmarks (or even use Chrome Sync to update the data on the Google servers), the only way to back them up is to copy the file storing your bookmarks to another location via File Explorer or Finder.
Start by heading over to the directory containing your user data on the PC or Mac.
PC: Press Windows + R to open the Run box. Then, enter the following folder path and select OK:
%UserProfile%\AppData\Local\Google\Chrome\User Data
Mac: Open Finder and select Go > Go to Folder on the menu bar. Then, enter the following folder path and select Go:
~/Library/Application Support/Google/Chrome/
In the directory that shows up, select the folder labeled Default to view the contents of your Chrome profile.
If Chrome contains several profiles, you should see folders with the names Profile 1, Profile 2, Profile 3, and so on, holding the data specific to each of them. If so, identify and open the correct profile folder.
Then, locate and copy the file labeled Bookmarks and Bookmarks.bak. Follow by saving it in a different location on your PC or Mac.
After reinstalling Chrome, you can copy the files to the directory of the new Chrome profile to restore your bookmarks. If they don’t appear within the Bookmark Manager, exit and relaunch the browser.
Backing Up and Restoring Chrome Bookmarks
Using a Google Account does help you worry less about losing your Chrome bookmarks because of issues caused by hardware or software corruption. But taking the occasional manual backup to an HTML file won’t hurt and acts as a failsafe if Chrome Sync fails to work as intended. Also, don’t forget that you can copy the data file storing your bookmarks if you have trouble opening the browser in the first place.