Web Assets Toolkit
Convert SVG to Data-URI, generate Baota firewall IP rule JSON and export FontAwesome icons as PNG, three common web asset tasks in one page.
About This Tool
The web assets toolkit collects three small but recurring asset tasks. SVG to Data-URI outputs base64 and URL-encoded forms plus a ready-to-paste CSS declaration; the Baota firewall generator turns a pasted IP list into importable JSON while separating valid from invalid entries; the icon exporter renders FontAwesome icons to PNG.
The icon feature reuses the locally installed FontAwesome fonts, supports searching every icon by name, and exports with the font family, size and colour you choose, so no design tool is required.
Key Features
Dual SVG encoding
Base64 and URL-encoded Data-URI with CSS usage and live preview.
IP list validation
Recognises valid IPv4 and CIDR entries and reports invalid ones separately.
Full icon search
Search all FontAwesome icons by name and switch font families.
PNG export
Download transparent PNGs at a custom size and colour.
When to Use It
Inline small icons
Convert a few SVGs into Data-URI to save an extra request.
Bulk firewall rules
Turn an ops IP list into Baota rule JSON for direct import.
Export frontend assets
Render icons at multiple sizes for mini programs or native clients.
How to Use It
- 1Pick the tab for the task you need.
- 2Paste SVG source, an IP list, or search for an icon name.
- 3Adjust encoding, rule action or drawing parameters.
- 4Generate and copy the result; icons can be downloaded as PNG.
Frequently Asked Questions
Why is the icon preview blank?
FontAwesome icons belong to the Solid, Regular or Brands family. Switch the family and the icon will render.
Can the Baota JSON be imported directly?
The output uses the common IP rule JSON structure. Back up existing rules first and confirm field requirements for your panel version.
