Skip to content

A lightweight web-based Hex and ASCII viewer that lets you upload any file, view its binary content in real-time using virtual scrolling, and export raw text or hex data. Built with performance in mind for large files.

Notifications You must be signed in to change notification settings

SANDRO00O/Hex-and-ASCII-Viewer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Hex + ASCII Viewer

Open Source License: MIT Stars

A simple and lightweight web-based tool to view the hexadecimal and ASCII representation of any file.
You can drag and drop a file or select it manually, then see its hex dump with ASCII side-by-side.
Additionally, you can download the raw text or the hex output as .txt files.



Features

  • Drag & drop file support
  • File selection via button
  • Displays file content in hex + ASCII side-by-side
  • Virtual scrolling for smooth performance with large files
  • Download the raw file content as .txt
  • Download the hex + ASCII output as .txt

How to Use

  1. Open the webpage in any modern browser.
  2. Drag and drop a file into the dashed area or click Select File to browse.
  3. The file name will appear under the drop area.
  4. Scroll through the hex + ASCII view of the file contents.
  5. Use the buttons to download the raw file as text or the hex output.

Supported Browsers

  • Google Chrome
  • Mozilla Firefox
  • Microsoft Edge
  • Safari

Any browser supporting modern HTML5 APIs such as FileReader and Blob.


Installation

No installation required. Just open the index.html file in a browser or host it on a web server.


How It Works

  • Reads the file as an ArrayBuffer
  • Converts bytes into hex and ASCII representation
  • Uses virtual scrolling to render only visible lines for performance
  • Allows downloading results as text files

Developer

Developed by Karrar


License

This project is open source and available under the MIT License.

About

A lightweight web-based Hex and ASCII viewer that lets you upload any file, view its binary content in real-time using virtual scrolling, and export raw text or hex data. Built with performance in mind for large files.

Topics

Resources

Stars

Watchers

Forks