--- title: Interactive Demo description: "Test the social-links library directly in your browser using Pyodide. Try detecting platforms, validating URLs, and sanitizing social media links." keywords: - interactive test - try it - demo - test social links - browser test --- # Interactive Demo Try the `social-links` library directly in your browser! This page uses [Pyodide](https://pyodide.org/) to run Python in the browser.

Installed package: `social-links`

Supports pre-defined platforms:

The library comes with built-in support for these social media platforms. Each platform has pre-configured validation rules and URL patterns that are automatically applied when you use the library.

Loading Pyodide...

### 1. Detect Platform

Enter a URL to detect which social media platform it belongs to:

### 2. Validate URL

Check if a URL is valid for a specific platform:

### 3. Sanitize URL

Normalize a URL to its canonical format: