How to get SVG thumbnails in Windows Explorer?

237,753

Solution 1

Use this awesome SVG thumbnail shell extension which works fine in Windows 7/8/10 (both 64-bit and 32-bit):

SVGSee - Extension module for Windows Explorer to render SVG thumbnails, so that you can have an overview of your SVG files.

It is open source and free - what more can you ask for?

On Windows 10 after installing, try changing your SVG file association (the "Open With"). By changing it, something somehow gets refreshed, and it starts working.

Solution 2

In regards to the answer given by geo, in the event someone needs to rebuild the IconCache.db and wants to give a go at not needing to reboot try the following batch.

@ECHO OFF

TASKKILL /IM explorer* /F
DEL "%localappdata%\IconCache.db" /A
explorer.exe

Solution 3

Adobe Illustrator isn't the only way to do this, nor is it the best way to do this.

See the post by @Deckard above...

Follow the link he provided to the SVG Explorer Extension. Download and install Dotz Software SVG Explorer Extension, aka DSSEE.

Once installed, open Task Manager and kill all instances of explorer.exe. From the Task Manager menu, choose File->Run new task menu. In the dialog box, simply type explorer and hit OK.

NOTE: Please do the above step only if you're comfortable with killing and restarting processes through the Task Manager. If not, then simply reboot your system so that the new explorer extension can load.

From then on, all SVG images will show up as thumbnails in Windows Explorer.

This extension has worked perfectly for me on both Win7_x64 and Win8_x64! In fact, I was recently pleasantly surprised to learn that it displays thumbnails for compressed SVGZ images as seamlessly as it does the non-compressed versions.

NOTE (2014/07/17):

Per the comment by John Rasch, if you can't see the SVG thumbnails after following the steps above, you can clear your icon cache using the following batch file:

@ECHO OFF

TASKKILL /IM explorer* /F
DEL "%LOCALAPPDATA%\IconCache.db" /A
shutdown /r /f /t 5 /d 02:04

Copy this to RebuildIconCache.bat and run it as Administrator. It will kill all Windows Explorer processes, which is required before you can delete the icon cache, then delete the icon cache, and, finally, reboot your system.

EDIT (2015/12/08):

As noted by @user1698811 below, the last line, "shutdown /r /f /t 5 /d 02:04", can simply be replaced with "explorer.exe", getting rid of the need to reboot.

EDIT (2015/03/10):

I know this question was asked about Windows 7, but I thought it would be useful to add instructions for Windows 8 and above...

Windows 8 introduced a new icon and thumbnail cache system. Instead of a single file containing the entire icon cache, Windows 8 uses multiple cache files, based on the size and type of icon. These files are stored in "%LOCALAPPDATA%\Microsoft\Windows\Explorer". As an example, that directory on my system includes the following files:

iconcache_16.db         thumbcache_16.db
iconcache_32.db         thumbcache_32.db
iconcache_48.db         thumbcache_48.db
iconcache_96.db         thumbcache_96.db
iconcache_256.db        thumbcache_256.db
iconcache_1024.db       thumbcache_1024.db
iconcache_exif.db       thumbcache_exif.db
iconcache_idx.db        thumbcache_idx.db
iconcache_sr.db         thumbcache_sr.db
iconcache_wide.db       thumbcache_wide.db

As a result, in order to clear the icon cache in Windows 8 or above, you would need to delete all of the 'iconcache_*.db' files in the above directory.

Note that, in addition to the above files, Windows 8 still retains the "%LOCALAPPDATA%\IconCache.db" file. I honestly don't know if this file is used or not, but, to be thorough, it would be best to continue to delete that file as well.

Therefore, for Windows 8 and above, we have the RebuildIconCache8.bat file as follows:

@ECHO OFF

TASKKILL /IM explorer* /F
DEL "%LOCALAPPDATA%\IconCache.db" /A
DEL "%LOCALAPPDATA%\Microsoft\Windows\Explorer\iconcache_*.db" /A
shutdown /r /f /t 5 /d 02:04

or as @user1698811 suggested:

@ECHO OFF

TASKKILL /IM explorer* /F
DEL "%LOCALAPPDATA%\IconCache.db" /A
DEL "%LOCALAPPDATA%\Microsoft\Windows\Explorer\iconcache_*.db" /A
explorer.exe

which resets the icon cache without having to reboot.

Solution 4

Microsoft PowerToys does that: enter image description here

Solution 5

  1. Download & install the latest svg viewer extension (32 or 64-bit)
  2. Download & run the rebuild_icon_cache.bat (if you still cannot see the thumbs)
  3. Reboot your system

This works on Windows 8.1 Pro 64-bit.

Share:
237,753

Related videos on Youtube

zbstof
Author by

zbstof

Backend, BigData

Updated on September 18, 2022

Comments

  • zbstof
    zbstof over 1 year

    I can open them in browser just OK, but how can I have thumbnails in the Windows Explorer?

    Edit: I installed Renesis Player as suggested by this answer, but it does not work for me, probably because I have 64-bit system.

    • mikemaccana
      mikemaccana almost 7 years
      There is an official Windows Feedback suggestion you can vote on for this feature: aka.ms/Eoucpm
    • Daniel Tonon
      Daniel Tonon over 6 years
      That feedback link didn't open for me. This is the same issue except it's one I could access aka.ms/R2boai
    • AlainD
      AlainD almost 4 years
      After trying two explorer extensions (github.com/tibold/svg-explorer-extension and archive.codeplex.com/?p=svgextension), each time killing explorer and clearing the cache, nothing worked. The icon displayed was always the application associated with .svg (for example Google Chrome). Then I stumbled on Folder Options > View > Always show icons, never thumbnails. This was enabled on my system. After toggling this off, SVG icons started working.
    • user1343503
      user1343503 over 3 years
      It can also be achieved with the new Microsoft Power Toys.
  • zbstof
    zbstof over 12 years
    Thanks. But are there other software which has this feature? Perhaps open-sourse Inkscape?
  • Deckard
    Deckard over 12 years
    No, sorry. Inkscape cannot do this. I have been on the lookout for such a software myself for quite some time.
  • Mikaël Mayer
    Mikaël Mayer over 10 years
    Even with my Windows 7 64-bits system and the signed application, it still displays the Inkscape icon. Any idea on how to fix this?
  • Deckard
    Deckard over 10 years
    Sorry, works fine here (same config). You will need to contact the makers for support.
  • Mikaël Mayer
    Mikaël Mayer over 10 years
    Finally I made it work. I needed to wait a little bit more.
  • Mike Nakis
    Mike Nakis over 10 years
    Yes, there are some issues related to refresh. You will need to delete your icon cache (sevenforums.com/tutorials/49819-icon-cache-rebuild.html) and say your prayers.
  • John Rasch
    John Rasch almost 10 years
    For anyone else who still cannot see the icons after these steps (including rebooting), I also had to go to Disk Cleanup and select Thumbnails to delete the existing cached thumbnails.
  • Felix Eve
    Felix Eve over 9 years
    Many thanks - just doing step 1 worked perfectly for me.
  • geo
    geo about 9 years
    Thanks for this! I should have mentioned in my response that the steps I gave were the "official" steps given by Microsoft. I too have found that killing 'explorer' and simply restarting it works, but I wanted to give the official instructions.
  • Deckard
    Deckard about 9 years
    This does not work on 64-bit Windows versions.
  • BillyTom
    BillyTom over 8 years
    It's a real downer that the original site does not offer install instructions as good as yours
  • Mrchief
    Mrchief over 8 years
    Half of the icons are displayed, half not. Win 10 x64 after rebuilding cache twice.
  • Glenn Lawrence
    Glenn Lawrence about 8 years
    On windows 10 the 64 bit installer dssee_setup_x64_v011_signed.exe runs, but then it looks like it immediately runs the uninstaller, so the install fails.
  • eggbert
    eggbert over 7 years
    I eventually managed to get it to work by removing thumbnails in Disk Cleanup, scripts didn't work for me.
  • android developer
    android developer over 7 years
    link of #2 doesn't exist anymore.
  • Mahmoud Al-Qudsi
    Mahmoud Al-Qudsi over 7 years
    This is how to see a preview of thumbnails of the SVG within Illustrator and not in an explorer.exe window, as the question asked.
  • Hugo H
    Hugo H over 7 years
    CCleaner helped me clearing the icon/thumbnail cache.
  • Ian Grainger
    Ian Grainger over 7 years
    My icon cache files were in use. So deleting them didn't work.
  • Rav
    Rav about 7 years
    Note you have to restart after the install. I've tried killing and restarting explorer.exe but it didn't work.
  • Udit Sharma
    Udit Sharma almost 7 years
    Dos prompt: ie4uinit.exe -ClearIconCache, taskkill /IM explorer.exe /F, explorer.exe
  • DAG
    DAG almost 7 years
    As people have stated in the CodePlex dicussions area - after installing you should change your file association (the "Open With"). By changing it something somehow gets refreshed and it starts working. Nothing else needs to be done other than that. Works fine for me on Win10 64bit
  • Sergey Larin
    Sergey Larin over 6 years
    CarstenSchmitz's solution is much easier. You just need to install an application and restart in his case.
  • AlwaysLearning
    AlwaysLearning over 6 years
    @SimonHughes: ie4unit.exe doesn't work on Windows 10. To be complete you need: del /f "%LOCALAPPDATA%\IconCache.db" and del /f "%LOCALAPPDATA%\Microsoft\Windows\Explorer\IconCache_*.db". If you also want to kill the Thumbnails Cache then add in del /f "%LOCALAPPDATA%\Microsoft\Windows\Explorer\ThumbCache_*.db" and stir.
  • matt lohkamp
    matt lohkamp over 6 years
    CodePlex is shutting down, but you can still find the installer binaries here: code.google.com/archive/p/svg-explorer-extension/downloads
  • jsgoupil
    jsgoupil over 6 years
    @mattlohkamp This is great but nothing is signed... :(
  • Simon
    Simon almost 6 years
    killing explorer.exe worked for me. you must kill all instances, and it's best to open a cmd window to type explorer.exe if it doesn't start up again.
  • matpop
    matpop almost 6 years
    @DAG Thank you very much. Your comment is not getting the attention it deserves. I do suggest you to edit this answer.
  • Greg K
    Greg K almost 6 years
    You can run this from a command prompt (as admin) without rebooting with this one liner: TASKKILL /IM explorer* /F & DEL "%LOCALAPPDATA%\IconCache.db" /A & explorer.exe
  • Greg K
    Greg K almost 6 years
    Or if you don't want to create a .bat file and have your system reboot, open a command prompt (as admin) and run this: TASKKILL /IM explorer* /F & DEL "%LOCALAPPDATA%\IconCache.db" /A & explorer.exe
  • giovannipds
    giovannipds over 5 years
    It's also possible to clear thumbnails cache with CCleaner. =]
  • cederlof
    cederlof about 5 years
    Win 10 x64: I ran Greg K's script from comment and had to run Disk Cleanup clearing the Icon Thumbnails. And that worked.
  • user1063287
    user1063287 almost 5 years
    i downloaded and installed for Windows 10, 64, turned computer off, restarted - still no icons, then downloaded ccleaner and ran clean which is meant to clean thumbnail cache - still no icons. I also tried changing default program to open svg files from 'Google Chrome' to 'Sublime Text' (and back again) and that did nothing either.
  • user1063287
    user1063287 almost 5 years
    update: i then followed the instructions from link in original post (thewindowsclub.com/rebuild-the-icon-cache-windows) and manually deleted the IconCache file, restarted and still no icons - then i realised i had windows explorer in View > Details mode hehe :) It works now in any of the icon views.
  • NightOwl
    NightOwl almost 5 years
    Worked awesome on Win10x64 for me, and didn't even have to refresh my icon cache. Windows seemed to do it automatically as soon as the installer finished running. Nice!
  • AlainD
    AlainD almost 4 years
    Note that Folder Options > View > Always show icons, never thumbnails must be OFF otherwise you can delete the icon cache and reboot any number of times and will see only the icon of the application currently associated with .svg files.
  • SDIDSA
    SDIDSA over 3 years
    woho installing the exe is the only thing you have to do on win10x64, thumbnails start appearing right after installation is finished
  • Falk Tandetzky
    Falk Tandetzky over 3 years
    More me there were two more things needed: 1) In Explorer after opening the relevant folder: Click View > Medium Icons 2) Also in Explorer: click View > Options > Tab "View" > remove the tick in "Always show icons, never Thumbnails"
  • koubin
    koubin about 3 years
    not sure why, but the svg icons are still distorted no matter what I do (have done all those steps and recommendations). I am able to view them correctly in any browser, in Inkscape, Affinity Designer, but not in the Win Explorer.
  • Peter
    Peter over 2 years
    This extension is also available for installation via Chocolatey package manager: community.chocolatey.org/packages/svg-explorer-extension.
  • Admin
    Admin about 2 years
    great answer and tip about changing assortation (can just be used with the same program)
  • Admin
    Admin almost 2 years
    This works for me using Windows 11. I discovered Inkscape in the process which was a bonus.