View VMF files in your browser

The map source Hammer saves for a Source game, before it's compiled into a BSP. Open one right here in 3D, with every brush, displacement and entity, and walk through it. Nothing leaves your device.

Or drop it anywhere on this page

What you'll see

Your map opens in 3D as its compiler builds it, every brush, displacement and entity, with what you pick on the other side.

canal_district.vmf

Hammer 400 • 2,418 brushes • 1.9 MB

  • Walk • W A S D at eye height, on computers
  • Turn, zoom and move it • Double click to center on a point
  • Every entity in a list • Its keys and outputs in Inspect
  • Export • PNG, GLB, USDZ, STL and OBJ

About VMF

VMF is the map source Valve's Hammer editor has saved for Source games since 2004, from Half-Life 2 to Counter-Strike, Team Fortress 2, Portal and Left 4 Dead. It's the map a mapper works on, which the compile tools build into the .bsp a game plays, adding its lighting and visibility.

It's text of nested blocks: the world and its entities, each brush a solid of planes given by three points, with the material, texture axes and scale of each face, displacements as rows of distances and offsets, and every entity's keys and outputs. It keeps no textures: its materials are named, and their VMT and VTF files are in the game's VPK archives.

Filepeek builds it in your browser as Hammer's compiler does: each brush's faces cut from its planes, displacements raised from their rows and brush entities in place, in the materials you drop with it, or from the VPKs you drop, and flat colors for the rest. Its entities are listed beside it with their keys and outputs, Walk starts at the player's start, and Export saves PNG, GLB, USDZ, STL or OBJ. A map isn't lit until it's compiled, so each face is shaded by which way it looks.

Valve Map Format

Format

MIME type
text/plain
Made by
Valve
Released
2004

Inside the file

Holds
Brushes, displacements and entities
Materials
Named, in the game's VPKs
Units
Inches, Z up
Format
Text of nested blocks

Opens in every browser

Filepeek opens Hammer maps in 3D in Chrome, Edge, Firefox and Safari. On their own, browsers download them or show them as text.

  • YouChromeOpens through Filepeek
  • YouEdgeOpens through Filepeek
  • YouFirefoxOpens through Filepeek
  • YouSafariOpens through Filepeek

Apps that open VMF

  • WindowsHammer, with the game's Source SDK, or Hammer++
  • MacNo app opens it • Hammer runs only on Windows
  • iPhone and iPadNo app opens it
  • AndroidNo app opens it

Questions

How do I open a VMF file without Hammer?

Drop it on this page. It opens in 3D in your browser, on Windows, a Mac, an iPhone or Android, with no game, Source SDK or install.

Why are the walls flat colors?

A VMF only names its materials, whose VMT and VTF files are in the game's VPK archives. Drop the VMTs and VTFs, or the game's _dir.vpk with its numbered parts, with the map, and its materials show.

Why are triggers and clips hidden?

Faces in tool materials, like nodraw, triggers, clips and the skybox, are only seen in Hammer, so they start hidden. Show everything brings them back.

Why does it look lit differently from the game?

A map's lighting is worked out when it's compiled, so a VMF has none. Filepeek shades each face by which way it looks. Open the compiled .bsp to see the light the game shows.

Where are the props' models?

A prop names a model in the game's files, so it shows as a mark where it stands, with its model's path, angles and keys in Inspect.

Does it open Source 2 maps?

No. Source 2's Hammer saves .vmap files in a format of its own. Filepeek opens the VMF of every Source game before it, Hammer++'s included.

More game formats

All supported file types

Tell us what happened

Where the file came from helps us most

With itNever the file or its name
Thank you

Opens in a new tab

Keys

Everywhere

EXIF

Verify

License

Signature