Inspiration
Official letters are written by lawyers and institutions, but they land on ordinary people. A rent notice, a benefits denial, or a medical bill often has a deadline buried in the middle of dense legal language, and missing it can mean losing housing, healthcare, or income. The people hit hardest are often those with the least help: people with low literacy, English learners, older adults, and people without a lawyer or a trusted advisor.
I wanted a tool that answers the questions a person has after opening one of these letters: What do I have to do? By when? What happens if I don't? Can I push back?
What it does
PlainNotice takes the text of a confusing letter and turns it into something a person can act on:
- Deadlines, sorted by date, with how many days are left and color-coded urgency
- What you're being asked to do, pulled out as a short list
- Watch out flags for things like eviction, termination, added fees, wage garnishment, court hearings, or giving up rights, plus a flag when the letter mentions a right to dispute or appeal
- Money mentioned, with the sentence each amount appears in
- A plain-English version of the letter where jargon like "delinquent," "remit," and "cure" is highlighted and explained in place
- A reading-level score so users can see when a letter is far harder than it needs to be
- Read-aloud for a spoken summary, a copy to-do list button, and a larger text toggle
- Pointers to free human help (211 and lawhelp.org)
Privacy is the core design choice. These letters contain sensitive information about housing, health, and money. PlainNotice runs entirely in the browser. Nothing is uploaded, there are no accounts, and no data leaves the device. It makes no network requests, so it also works offline once the page has loaded.
How I built it
PlainNotice is a single HTML file with plain CSS and JavaScript, with no frameworks or API keys.
- Deadline detection: regular expressions find dates written as "December 3, 2026" or "12/15/2026" and validate them. Relative deadlines like "within 10 days" are caught separately. Dates are compared with today to compute days remaining and urgency.
- Action and risk detection: pattern matching finds instruction language ("must," "shall," "remit," "respond") and risk language, then shows the exact sentence that triggered each flag.
- Plain-language layer: a glossary of legal and bureaucratic terms is applied with one longest-match-first regular expression, so "pursuant to" matches before shorter terms.
- Readability: the Flesch-Kincaid grade level, using a syllable-counting heuristic:
$$0.39\,\frac{\text{words}}{\text{sentences}} + 11.8\,\frac{\text{syllables}}{\text{words}} - 15.59$$
- Accessibility: the Web Speech API for read-aloud, large touch targets, visible keyboard focus, a screen-reader live region for results, a larger-text toggle, and automatic light and dark themes.
I chose rules instead of a hosted AI model on purpose. The results are predictable and explainable, every flag points back to the exact sentence it came from, and the tool stays private, free, and offline.
Challenges I ran into
- Dates are messy. Letters write them many ways, and a word like "may" is also a verb. I required a day and year after the month name and validated every parsed date.
- Honest limits. A rules-based reader can't understand context the way a person can. I made each result show its source sentence so users can check it against the original, and added a clear "not legal advice" note.
- Estimating reading level offline. Syllable counting in English is imperfect, so the grade level is an estimate, not an exact score.
- Read-aloud support differs between browsers, so the app shows a clear message when it isn't available.
Accomplishments that I'm proud of
- A complete workflow, from pasting a letter to a to-do list, in a single page with no setup
- A privacy-first design that keeps sensitive documents on the user's device
- Results that show their evidence: every deadline, action, and warning links to the sentence it came from
What I learned
Being useful here has less to do with sophisticated technology than with a clear workflow, readable output, and honesty about limits. I also learned how much of the work in a plain-language tool is deciding what not to show, because someone in a stressful situation needs the three things that matter first.
What's next for PlainNotice
- Photo and PDF input with on-device text recognition, so people can scan a paper letter
- Calendar export for deadlines
- Translation into more languages and a larger, community-reviewed glossary
- Letter-type templates (lease, benefits, medical billing, school) with the questions to ask each kind of sender
- Testing with legal aid clinics and community organizations to check the explanations and warnings with the people who read these letters every day
Built during the event
Everything in PlainNotice was designed and built during EvoHacks 2.0. It has no pre-existing code, templates, or assets and no external libraries.
Built With
- accessibility
- css3
- html5
- javascript
- offline-first
- privacy-first
- regex
- web-speech-api