PNG to VTF Converter

Add a PNG and get a VTF texture for a Source engine game, as long as each side is a power of two.

FluffyShield Protected workspace
FluffyShield

Isolated workspace: other page scripts can't read your files. How FluffyShield works

Free · No upload · No sign-up · No usage quotas

How it works
  1. The tool checks both sides are powers of two
  2. The picture is packed in 4 × 4 squares
  3. 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.

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

Your PNG1,280 × 1,274RefusedKeep aspect ratio on1,024 × 1,019RefusedKeep aspect ratio off1,024 × 1,024Accepted

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.

  1. Load the PNG with Choose images.

  2. The settings hide behind the VTF gear on a phone; tap it there.

  3. Under Size, press Dimensions.

  4. Type the width's power of two into Width.

  5. Type the height's power of two into Height.

  6. Untick Keep aspect ratio.

    The Size setting on Dimensions, Width and Height filled in, and the Keep aspect ratio box unticked and outlined.
    The Size setting on Dimensions, Width and Height filled in, and the Keep aspect ratio box unticked and outlined.
  7. Press Convert 1 to VTF.

  8. Save the .vtf with Download.

If the texture isn't for a Source game

The game or 3D program asks for a DDS, not a VTF.

FluffyBench's PNG to DDS converter

It packs the picture the same way and takes a PNG of any size, so there's nothing to resize first.

Search FluffyBench