BNS Converter

Extract text from Bonus map scripts (BNS)


Drop or upload your .BNS file

How to extract text from your BNS file

  1. Click the "Select File" button above, and choose your BNS file.
  2. You’ll see a preview, if available.
  3. Click the "Convert file to..." button to extract text information.

Convert BNS to another file type

To convert BNS Scripts to another format, you need Portal or other Game software.

Convert a file to BNS

To convert other file formats to the "Bonus Map Script" file type, you need software like Portal or a similar tool.


About BNS files

A .bns file is primarily a Portal Bonus Map Script utilized by the Source engine, developed by Valve Corporation. These files dictate the exact parameters for challenge maps in the game Portal. They store variables such as the maximum number of portals, time limits, or footsteps a player is allowed to take to earn Bronze, Silver, and Gold medals. Alternatively, the extension is also used for a Compiled Rabbit Network Script developed by kevidryon2.

Users typically need to convert or open these files to modify challenge requirements for custom map distributions. The main disadvantage of the .BNS format is its highly specialized, proprietary nature. It holds no functional value outside the Source game engine and is invisible to standard web browsers. Standard online converters cannot process these files because they do not recognize the specific Source engine syntax or custom headers.

Since a .bns file is fundamentally structured as text, the best target formats for analysis and external editing are standard TXT, JSON, or XML. Converting the file to these formats allows developers to parse and integrate the map challenge data into other tracking tools or wikis. Note that saving it back as a .txt file will prevent the game engine from reading the challenges until it is renamed back to .bns.

This file format is difficult to convert automatically because only the original game engine expects its exact variable structure. If our analysis detects a supported underlying text format, viewing or conversion may still be possible.

Convert.Guru analyzes your BNS file, detects the exact format, and lets you read the text inside.

Users also converted BMZ, MP3, MP4 and IPC files.


FAQ

If you want to convert BNS file to IPC, EXE, ISO, BIN, CUE, PAK, WAD, PK3, PK4, BSP, MAP or SAV, you can use Portal or similar software from the "Game Map Scripting" category. In the File menu, look for Save As… or Export….

To convert MOD, BIN, CFG, SCX, DAT, MPQ, LOG, CUE, INI, EXE, SCM or ISO files to BNS, try Portal or another comparable tool in the "Game Map Scripting" category.



The BNS Converter Story

The history of Convert.Guru began over 25 years ago in California with Tom Simondi’s file-format database. A former contributor to Space Shuttle development and a software pioneer of the 1980s, Simondi established a trusted resource for file type analysis that was even referenced by Microsoft Windows XP. Today, we use modern technology to process and convert thousands of file formats while continually improving our BNS converter.