A lightweight client-side web tool that generates rich previews for URLs by extracting metadata such as title, description, Open Graph tags, and preview images.
The project also provides a basic SEO checklist and stores recently analyzed URLs using browser localStorage.
π https://vsarvani2004.github.io/URLMetadataPreview/
When users share links on platforms like WhatsApp, LinkedIn, or Slack, a preview card is automatically generated using website metadata. This project simulates that behavior in a simplified way and helps users:
- Preview how a URL will appear when shared
- Check if essential SEO and Open Graph tags are present
- Validate URLs before publishing or sharing
- π URL validation (auto-detects invalid URLs)
- πΌοΈ Rich metadata preview (title, description, image)
- π SEO tag checklist:
- Title tag
- Meta description
- Open Graph title
- Open Graph image
- π URL history (stored using localStorage)
- π¨ Clean, responsive UI with modern styling
β οΈ Graceful error handling for restricted websites
...
- HTML5
- CSS3
- JavaScript (ES6)
- Browser APIs:
- Fetch API
- DOMParser
- localStorage
## π Project Structure
URLMetadataPreview/
βββ index.html
βββ README.md
βββ images/
βββ img1.png
βββ img2.png
βββ img3.png
- User enters a valid URL
- The app fetches the website HTML using a public proxy
- Metadata is extracted using DOM parsing
- A preview card and SEO checklist are generated
- The URL is saved in browser history for quick access
- Some enterprise websites (e.g., Amazon, Google) block client-side scraping
- Since this is a frontend-only project, metadata access depends on website permissions
In production systems, this is typically handled via backend services.
- Understanding SEO and Open Graph metadata
- Handling CORS and real-world web limitations
- Improving UX with validation and loading states
- Using browser storage for persistence
- Writing clean, explainable frontend logic
- Dark mode toggle
- Export SEO report
- Mobile preview simulation
- Backend-based metadata fetching
Sarvani Voolapalli
β If you find this project useful, feel free to star the repository!


