reverse-ejs

Turn any templated text into structured JSON. Works with HTML, Markdown, logs, emails, plain text - anything you can describe with an EJS template.

How it works

1

Grab the text

Copy the HTML page, Markdown document, log line, email, or any other templated text you want to extract data from.

2

Create a template

Replace the values you care about with EJS tags like <%= name %>.

3

Extract the data

Paste both below and get a clean JSON object with every value extracted.

Features

Playground

Paste your rendered text and EJS template, then hit Extract.

Try an example: