Markdown TOC Generator - Online Table of Contents
Paste your Markdown and automatically generate a linked table of contents based on headings. Insert at the top. Local magic.
UD5 Toolkit
Test, configure & generate <datalist> combobox code in real-time
value|label = display label
·
# Group = optgroup
Free-form input with suggestions
âś… You can type anythingRestricted choice from list only
đź”’ Must pick from the list
<datalist> element provides an autocomplete/combobox functionality for <input> elements. It contains a set of <option> elements that represent suggested values. Users can either pick from the suggestions or type their own custom value — unlike <select> which restricts input to predefined options only.
list attribute on the <input> to match the id of the <datalist>. Example: <input list="my-list"> and <datalist id="my-list">...</datalist>. Multiple inputs can share the same datalist by referencing the same id.
<div>-based dropdown. Chrome, Firefox, Safari, and Edge all render datalist dropdowns differently.
inputmode and autocomplete attributes.
value and label are specified on an <option> inside a datalist: the label is displayed in the dropdown, while the value is what gets inserted into the input when selected. This is great for scenarios like country codes: <option value="US" label="United States"> — users see "United States" but "US" fills the field.
<select> element instead, or implement JavaScript validation on the input that checks against the datalist options. You can listen for the input event and validate with querySelectorAll against the datalist's options.
input event on the <input> element. However, there's no built-in way to distinguish between a dropdown selection and manual typing. A workaround: compare the input's value against datalist option values using JavaScript. The change event fires when the input loses focus, which can also be useful for final value validation.
<optgroup label="Group Name"> inside a <datalist> to categorize options. This is supported in Chrome, Firefox, Safari, and Edge. Group labels appear as non-selectable headers in the dropdown, helping organize long lists. Use the format # Group Name in our editor above to create optgroups.
autocomplete="off" prevents the browser's own autofill/suggestion overlay from conflicting with the datalist dropdown. Without it, some browsers may show both their native autocomplete popup and the datalist suggestions simultaneously, creating a confusing UX. Test in your target browsers.
<datalist> is supported in all modern browsers: Chrome 20+, Firefox 4+, Safari 12.1+, Edge 12+, and Opera 9.5+. Internet Explorer 10+ has partial support (dropdown may behave differently). Global browser support exceeds 97%. For legacy browsers, the input degrades gracefully — users can still type freely, they just won't see suggestions.
Paste your Markdown and automatically generate a linked table of contents based on headings. Insert at the top. Local magic.
Combine TTS with text highlighting. See each word colored as it is spoken. For e‑learning content creation. Local.
Highlight elements with aria‑describedby and see the linked description text. Verify a11y annotations.
Paste any text and have it read aloud while each spoken word is highlighted. Improve reading focus. Web Speech API.
Paste text and quickly highlight potential proper nouns (capitalized sequences). Aid for editing or anonymization. Simple regex-based, local.
Check if your site has a service worker registered and if it can load offline. Quick PWA readiness assessment.
Enter a list of component props with types and defaults, and get a Markdown table ready for your Readme or Storybook.
Reduce your HTML file size by stripping whitespace, comments, and optional closing tags. Secure browser‑based.
Toggle between show and hide for empty table cells. Understand how it affects borders and backgrounds.
Play white, pink, or brown noise to aid focus, sleep, or tinnitus relief. Infinite loop and volume control. Works in background; no downloads.
Generate continuous white, pink, or brown noise for sleep or concentration. Adjustable volume with offline support via Web Audio API. No downloads needed.
Upload a text file to detect its character encoding (UTF-8, ISO-8859-1, etc.) and BOM presence. Runs entirely in your browser.
Play continuous white, pink, or brown noise directly in your browser. Includes a timer for sleep and volume control for office concentration.
Convert standard HTML into Pug (formerly Jade) syntax. Clean, indented output. For Node.js templating. Client‑side.
Demonstrate how to add custom headers and POST‑like functionality to EventSource using a polyfill. Code and example.
See the difference between clone and slice on inline boxes that break across lines. Useful for multi‑line headings.
Create a pure HTML dropdown menu using the popover attribute. Style it with CSS and copy the accessible snippet. No JavaScript.
Acquire and release locks across tabs. Prevent race conditions in IndexedDB or localStorage. Visual queue and lock state.
Register a periodic background sync to fetch fresh data even when the tab is closed. Understand the API and limits.
Test the Fullscreen API: request fullscreen on a colored div, detect changes, and copy the JavaScript boilerplate.
Test the new HTML popover attribute for creating accessible tooltips, menus, and dialogs without JavaScript. Copy code snippets.
See the View Transitions API in action. Cross‑fade and morph between two states. Copy the JavaScript starter code.
Convert HTML to plain text while preserving paragraph breaks. Remove images, links, and scripts. Quick data extraction.
Build a complex mailto: link with to, cc, bcc, subject, and body. Get the HTML anchor tag. Local.
Strip specific or all attributes from HTML tags. Clean up messy code. Keep the structure. Purely local.
Paste HTML and instantly remove all tags, leaving only the text content. Optional keep line breaks. Quick cleaning.
Paste standard HTML and get a valid React JSX component. Converts class to className, inline styles, etc. Local transformation.
Convert HTML code into well‑formed XML with proper self‑closing tags and attributes. Fixes common HTML5/XHTML mismatches. Local only.
Paste CSV and get a beautiful HTML table with sortable headers (optional). Copy the full HTML/CSS snippet. Local.
Write or paste an HTML snippet and generate a PDF using the browser's print engine. Customize page size and margins.