---
title: "Base Url"
description: "Local-first visual environment for building and running AI workflows. Build agents visually, deploy anywhere, privacy by design."
canonical: https://docs.nodetool.ai/nodes/lib/html/baseurl
markdown: https://docs.nodetool.ai/nodes/lib/html/baseurl.md
product: NodeTool
source: https://github.com/nodetool-ai/nodetool/blob/main/docs/nodes/lib/html/baseurl.md
---

# Base Url

**Type:** `lib.html.BaseUrl`

**Namespace:** `lib.html`

## Description

Extract the base URL from a given URL.
    url parsing, domain extraction, web utilities

    Use cases:
    - Get domain name from full URLs
    - Clean up URLs for comparison
    - Extract root website addresses
    - Standardize URL formats

## Properties

| Property | Type | Description | Default |
|----------|------|-------------|---------|
| url | `str` | The URL to extract the base from | `` |

## Outputs

| Output | Type | Description |
|--------|------|-------------|
| output | `str` |  |

## Related Nodes

Browse other nodes in the [lib.html](./) namespace.
