A high-performance utility to browse, preview, and export icons from DLL, EXE, and ICO files, built with AutoHotkey v2
AS Icon Viewer helps developers and power users browse, extract, and manage icons embedded in Windows executables (.exe), libraries (.dll), and icon files (.ico). Shortcuts (.lnk) are resolved to their targets, making it easy to build icon sets, find indices, copy to clipboard, and export high-quality assets.
- Intelligent Resource Scanner: Instantly scan system libraries (
shell32.dll,imageres.dll, etc.) or custom files - Drag & Drop Support: Simply drop any
.dll,.exe,.ico, or.lnkfile onto the interface - Shortcut Resolution:
.lnkfiles are resolved to their target icon sources - Dynamic Icon Counting: Automatically detects and loads all available icons using Windows API
- Persistent File History: Your recently accessed files are automatically saved and restored
- Multi-Select File List: Remove multiple files at once for faster cleanup
- Multiple View Modes: Toggle between:
- Large Icon View
- Small Icon View
- Large Report View
- Small Report View
- Adjustable Preview Size: 16โ256px icon preview with index display
- Responsive Layout: Fully resizable interface that adapts to your screen
- Interpolation Control: Toggle high-quality scaling vs nearest-neighbor for crisp or smooth previews
- Bookmark Icons: Save frequently used icons to your favorites list
- Persistent Storage: Favorites are automatically saved across sessions
- Quick Access: Instantly preview and use your bookmarked icons
- Bulk Management: Add, remove, or clear favorites with ease
- Go to Source: Jump from a favorite to its original file and icon index
- File Tools: Open File Location and view file Properties from favorites
- Multiple Formats: Save icons as:
.ico(Windows Icon).png(Transparent PNG).bmp(Bitmap).jpg(JPEG)
- Export Size Control: Save at your chosen size (16โ256px)
- Clipboard Integration: Copy icon images as PNG with transparency
- Smart File Naming: Automatically suggests descriptive filenames based on source and index
- Code Generation: One-click copy of ready-to-use AutoHotkey code
TraySetIcon("C:\WINDOWS\System32\shell32.dll", 23)
- Live Icon Testing: Apply selected icons to the application's window and tray for instant preview
- Index Display: Clear labeling of icon numbers for easy reference in code
- Fast Copy: Double-click an icon to copy its code immediately
- High-Speed Extraction: Utilizes Windows API (
PrivateExtractIconsW) for optimal performance - Memory Efficient: Smart ImageList management prevents memory leaks
- Progress Indicators: Real-time loading feedback for large icon libraries
- GDI+ Integration: High-quality icon rendering and format conversion
- Interpolation Toggle: Switch between high-quality scaling and nearest-neighbor for preview, copy, and export.
- Favorites Navigation: "Go to Source" jumps from a favorite to the original file and icon index.
- File Utilities: Quick "Open File Location" and "Properties" actions in menus and favorites context.
- Live Preview Resizing: 16โ256px preview size updates the layout on the fly.
- Refresh Actions: Reload icons from the Icon View menu or the icon context menu.
- Direct View Switching: Replaced the "Switch View" cycle button with a direct DropDownList for instant access to any view mode.
- Advanced 3-Panel StatusBar: New native status bar showing operation status, icon counts, and active file paths in separate segments.
- File Location Explorer: Added "Open File Location" to the file list context menu to quickly find source files in Windows Explorer.
- Multi-Select Support: Enabled multiple file and favorite selection, allowing for bulk removal and more efficient list management.
- Recursive Layout Consistency: Realigned all control buttons (Add/Remove/Clear) to be positioned above their respective lists, creating a unified and professional visual flow.
- Internal Optimization: Unified file processing logic for both manual selection and Drag & Drop, with improved
.lnkshortcut resolution. - Redesigned Symbols: Modernized notification system using a centralized Symbol object for consistent visual feedback (info, success, warnings).
- Refined Menu System: Reorganized Menu Bar with intuitive access keys (Alt hotkeys) and clearer menu structures.
- Export Size Selector: Choose 16โ256px sizes for preview and saved icons
- Better Transparency: Clipboard copy now uses PNG with alpha
- Improved Exports: Higher-quality alpha handling and cleaner ICO output
- Smarter Save Dialog: File extension follows the selected file type
- First Release
- Operating System: Windows 7, 10, or 11
- Runtime: AutoHotkey v2.0+ (for
.ahkscript) - Compiled Versions: No dependencies required for
.exefiles
- Download the latest release from Releases
AS.Icon.Viewer_x64.exefor 64-bit WindowsAS.Icon.Viewer_x32.exefor 32-bit Windows
- Run the executable - no installation required!
- Install AutoHotkey v2.0+
- Clone this repository:
git clone https://github.com/akcansoft/AS-Icon-Viewer.git
- Ensure these files are in the same directory:
AS Icon Viewer.ahkSaveFileDialog.ahkGdip.ahkapp_icon.ico
- Run
AS Icon Viewer.ahk
- Default Libraries: On first launch, the left panel contains common Windows system icon libraries
- Add Custom Files:
- Click the โ Add button, or
- Use File โ Add File menu, or
- Drag and drop files directly onto the window
- Select a File: Click any file in the left panel to load its icons
- Preview: Click any icon to see a high-resolution preview
- Size: Use the Size dropdown to change preview/export size
- Copy Code: Click ๐ Copy Code to get AutoHotkey code
- Export: Click ๐พ Save to export in your preferred format
- Test: Click ๐งช Test icon to preview it as the app icon
- Add to Favorites: Click โ Add in the favorites section
- Interpolation: Use the Interpolation checkbox or Icon menu to switch scaling quality
- Use the DropDownList next to the Icons label or the Icon View menu to select:
- Small Report View
- Large Report View
- Small Icon View
- Large Icon View
- Right-click on icons for quick access to:
- Copy Image
- Save Image
- Copy Code
- Test Icon
- Add to Favorites
- Refresh List
- Right-click on file list for:
- Open File Location
- Add/Remove File
- Clear List
- Right-click on favorites for:
- Copy Image / Save Image
- Copy Code / Test Icon
- Go to Source / Open File Location / Properties
- Remove from Favorites
| Panel | Description |
|---|---|
| Left Panel | File list management - Add, remove, or clear icon source files |
| Middle Panel | Icon browser with multiple view modes and context menu |
| Right Panel | Preview pane with 128x128 display, export options, and favorites |
| Status Bar | Real-time feedback on operations and icon counts |
| Menu Bar | Full access to all features and settings |
| Shortcut | Action |
|---|---|
Left Arrow |
Navigate to previous icon (in Icon View) |
Right Arrow |
Navigate to next icon (in Icon View) |
Double Click |
Copy icon code to clipboard |
Right Click |
Open context menu |
AS Icon Viewer includes these Windows system libraries by default:
imageres.dll- Modern Windows iconsshell32.dll- Classic shell iconsuser32.dll- User interface iconsddores.dll- Device-specific iconsieframe.dll- Internet Explorer iconsmmcndmgr.dll- Management console iconsmoricons.dll- Additional iconsnetcenter.dll,netshell.dll,networkexplorer.dll- Network iconspifmgr.dll- Program information iconspnidui.dll- Network identification iconssetupapi.dll- Setup and installation iconswmploc.dll- Windows Media Player iconswpdshext.dll- Portable device iconscompstui.dll- Common UI iconsaccessibilitycpl.dll- Accessibility icons
Contributions are welcome and appreciated.
If you would like to contribute to this project, please follow these guidelines:
- Fork the repository and create your branch from
main - Make sure your code follows the existing style and structure
- Test your changes before submitting
- Clearly describe what your change does and why it is needed
- Use GitHub Issues to report bugs or suggest new features
- Please include clear steps to reproduce bugs, if applicable
- Feature requests should explain the use case and expected behavior
- Keep pull requests focused and limited to a single purpose
- Make sure your changes do not break existing functionality
- Update documentation if your change affects usage or behavior
- Follow AutoHotkey v2 best practices
- Test on both 32-bit and 64-bit Windows
- Update documentation for new features
- Maintain code comments and formatting
Thank you for taking the time to contribute.
This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details.
- Built with AutoHotkey v2
- Uses Windows GDI+ for high-quality image processing
- Icon extraction powered by Windows API
Mesut Akcan
- ๐ Blog: mesutakcan.blogspot.com
- ๐ป GitHub: @akcansoft
- ๐บ YouTube: mesutakcan