# Himalaya > Parse HTML into JSON [![npm](https://img.shields.io/npm/v/himalaya.svg)](https://www.npmjs.com/package/himalaya) ![Build Status](https://github.com/andrejewski/himalaya/actions/workflows/ci.yml/badge.svg) [![Coverage Status](https://coveralls.io/repos/github/andrejewski/himalaya/badge.svg?branch=master)](https://coveralls.io/github/andrejewski/himalaya?branch=master) [Try online 🚀](http://andrejewski.github.io/himalaya) | [Read the specification 📖](https://github.com/andrejewski/himalaya/blob/master/text/ast-spec-v1.md) ## Usage ### Node ```bash npm install himalaya ``` ```js import fs from 'fs' import { parse } from 'himalaya' const html = fs.readFileSync('/webpage.html', { encoding: 'utf8' }) const json = parse(html) console.log('👉', json) ``` ### Browser Download [himalaya.js](https://github.com/andrejewski/himalaya/blob/master/docs/dist/himalaya.js) and put it in a `