VTF Spray Converter
Fast, private, all‑browser spray (.vtf) generator for Source engine games – instant conversion, power‑of‑two sizing, mipmaps & alpha detection. Now with dark mode.
Convert Image to VTF
Upload PNG/JPG (transparent supported). The converter auto fits to a power‑of‑two size and builds an RGBA8888 VTF (v7.3) with optional full mipmaps.
Preview & Mip Chain
Ordering: smallest → largest (matches VTF storage order).
About This VTF Spray Converter
About
Use this lightweight, privacy‑friendly VTF Spray Converter to turn any PNG, JPG, or WEBP image into a ready‑to‑use Valve Texture Format (VTF) spray for Source engine games like Team Fortress 2, Garry’s Mod, Counter‑Strike: Source, and classic mods. Everything runs locally in your browser: no server uploads, no waiting, and no data collection. The tool auto detects transparency, enforces power‑of‑two sizing, optionally limits to the typical 256×256
spray guideline, and can build a full mipmap chain for cleaner rendering at distance. It outputs a tidy .vtf
plus an optional sample .vmt
material file so you can drop assets straight into your materials/
folder.
How to Use
Drag and drop an image (or click the panel). Choose Auto size or lock a target resolution. Pick a scale mode: Contain adds transparent padding, Cover crops to fill, and Stretch resizes exactly. Toggle mipmaps for better distance scaling; keep them on for most use cases. When ready, press “Convert & Download VTF”. Place the downloaded .vtf
and the generated .vmt
(if you downloaded it) inside a folder under materials/
, then reference the material name in‑game or through sprays/import UI depending on the title.
Tips
For the sharpest result, start from a square source close to the desired size. Transparent logos benefit from enabling alpha detection (on by default) which sets the correct EightBitAlpha flag. If you want a crisp pixel aesthetic, you can later add the Point Sample flag in advanced tools. Keep spray files small: enabling mipmaps barely increases size for uncompressed formats while improving quality. Because this tool currently uses uncompressed RGBA (no DXT artifacts), you get exact color fidelity—ideal for logos or UI elements. Re‑run conversions quickly by adjusting size or scale mode until the preview looks perfect. Embed this widget in WordPress/Kadence easily: just paste the single HTML file contents into an HTML block.
FAQ & Extra Help
This extra help section uses very simple and clear English so anyone can follow it, even if you are new to sprays or the Source engine. Where do I put the files? Put both the .vtf and the .vmt in a folder inside your materials folder. Many games auto create a custom folder for sprays; if not, you can make one with any short name. The image looks blurry. Try turning off filtering in game settings or use a higher base size like 256. Keep mipmaps on; they stop shimmering at distance. The alpha is wrong. Make sure your source file really has transparency (PNG with alpha) and leave the Auto Alpha switch on. The colors look a bit different. That is usually because of in‑game lighting; pure flat UI colors will still match closely. Can I use non square images? Yes, pick Cover or Contain. The tool pads or crops to a perfect square power of two. My file is too large. Pick a smaller size or remove mipmaps (only if you really need to). Is anything uploaded? No, everything happens inside your browser so it is private and fast. Need a simple workflow? 1) Drop image. 2) Pick scale mode. 3) Check preview. 4) Press Convert. 5) Put files in materials folder. 6) Select in game. You are done.
Read Also: