Add a PNG and get a VTF texture for a Source engine game, as long as each side is a power of two.
FluffyShieldProtected workspace
From
To
Loading the tool…
The tool didn't load. Reload the page, or check whether an extension or network filter blocks .
Free · No upload · No sign-up · No usage quotas
How it works
The tool checks both sides are powers of two
→The picture is packed in 4 × 4 squares
→Halved copies are added and the .vtf is saved
What it does
No small preview inside
The VTF holds your texture, its halved copies while Generate mipmaps is ticked, and a short header. The tool leaves out the small preview picture a VTF can carry, and takes nothing from your PNG but its pixels.
Limits One still frame of a flat texture: no animated textures, cube maps or volume textures.
Why does the PNG to VTF tool turn some PNGs away?
Because each side has to be a power of two, and plenty of PNGs aren't. Resize can fix that, but only once you untick one box.
FluffyBench · 3 min read · Measured on a sample icon
Which sizes will the tool take?
You add a PNG, press Convert, and instead of a texture the picture's tile says "This image couldn't be processed." It doesn't say why, and nothing is wrong with the picture. This tool writes a VTF only when the width and the height are each a power of two, a number you reach from 1 by doubling and nothing else: 64, 128, 256, 512, 1,024, 2,048 and so on.
The two sides don't have to match, so 512 × 256 goes through as happily as a square. What fails is anything in between. A 1,280 × 1,274 photo of the Earth, for one, is close to square, close to 1,024, and refused.
Why Resize can miss on the first try
The fix is the tool's own Resize, typing 1,024 for both width and height. But Resize starts with Keep aspect ratio ticked, and then the two numbers are a frame the picture must fit inside without being stretched. The Earth's longer side lands on 1,024, the shorter one on 1,019, and the tool refuses again.
Only the forced size is accepted
One PNG, three sizes
Same picture, same 1,024 typed twice; only unticking Keep aspect ratio gives two powers of two. How we measured
With the box unticked, Resize makes the size you typed. For a near-square picture like this one, that squeezes it by 0.5% one way, too little to see. For a clearly oblong picture, pick the nearest powers of two for each side instead, such as 2,048 wide and 1,024 high, so the shape stays close.
Resizing to a power of two and converting
Work out the two powers of two nearest your PNG's width and height before you start.
Load the PNG with Choose images.
The settings hide behind the VTF gear on a phone; tap it there.